Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Owner
|
@Yao1OoO 前段时间才收到反馈,构建报错,确实是写了个bug https://github.com/ATQQ/sugar-blog/pull/379/files 如果不需要图标的话 把 Icon 设置为 false 也能避免这个报错 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

使用 vitepress-plugin-rss 支持了 RSS 订阅,依赖于
vitepress-plugin-rss,build 后会在 dist 中生成feed.rss文件。在实现过程中有几个问题:
vitepress-plugin-rss由于实现了一个在社交媒体列表中加入 RSS 订阅图标的功能,依赖于themeConfig.socialLinks,但是这个主题对应的 array 名称为soical,会无法正常 build。我参考了 VitePress 文档 中社交媒体信息 array 的名称是socialLinks,所以重构了所有social->socialLinks,可以正常生成 dist。由于渲染社交媒体图标依赖于 iconfont,
加入 RSS 订阅图标功能没有正常实现,看了下似乎不好在不动插件源码的情况下修复,所以感觉直接在socialLinks中加入新的条目解决就好了。另外 iconfont 还没有 RSS 的图标,后续还需要添加。