Skip to content

2.8.1

Latest
Compare
Choose a tag to compare
@EveSunMaple EveSunMaple released this 04 Dec 16:54
· 3 commits to main since this release

[2.8.1] - 2024-12-5

Features

  • 新增 sitemap.xml 代替自动生成的 sitemap-0.xml
  • 重写 rss.xml.ts 完善了格式并在 RSS 中添加了全文内容
  • 新增可重用组件 GithubInfo 路径:src\widget\GithubInfo.astro
  • 新增卡片布局 包括 Aside / Horizontal / Vertical
  • 为博客文章内容添加了渐入效果
  • 添加了手动开关评论系统的功能

Refactored

  • 组件布局统一并修改
  • 重写了博客底部 License 组件的样式
  • 清理了全局的 ClassName 以简化代码
  • tag 路由更名为 tags

Fix

  • 可访问性修复:为必要的组件添加了 aria-label 以及由 sr-only 包裹的文本
  • 为代码框中的复制按钮添加了随机的专属的 id 与表单链接
  • 修复了分页按钮在仅有一页时出现的样式错误
  • 修复了在标签与分类页面下不显示字数与阅读时长的问题

Chore

  • 使用 iconify 代替了本地存储 svg 的方式

EN

[2.8.1] - 2024-12-5

Features

  • Added sitemap.xml to replace the automatically generated sitemap-0.xml.
  • Rewritten rss.xml.ts to improve formatting and include full content in the RSS feed.
  • Added reusable component GithubInfo located at src\widget\GithubInfo.astro.
  • Introduced card layouts including Aside, Horizontal, and Vertical.
  • Added fade-in effect to blog post content.
  • Added functionality to manually toggle the comment system.

Refactored

  • Unified and modified component layouts.
  • Rewritten styles for the blog footer License component.
  • Cleaned up global ClassNames to simplify the code.
  • Renamed tag route to tags.

Fix

  • Accessibility fixes: Added aria-label to necessary components and wrapped text with sr-only.
  • Added random unique id and form linkage to the copy button in code blocks.
  • Fixed style issues with pagination buttons when there is only one page.
  • Fixed the issue where word count and reading time were not displayed on tag and category pages.

Chore

  • Replaced local SVG storage with iconify.

What's Changed

New Contributors

  • @TNXG made their first contribution in #55

Full Changelog: v2.8.0...v2.8.1