-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
文章内一级标题不会显示右侧边栏 #63
Comments
一级标题不会显示在 侧边栏的。 |
发现了存在 base 导致的 链接解析生成的错误,这算是一个恶性bug了,我发个版本进行修复。 主题版本升级到 |
好的,我刚刚更新了,现在是还不能用pnpm更新到最新这个版本吗?好像只能更新到1.0.0-rc.50 |
在项目根目录中添加
就可以及时更新了,pnpm 默认的缓存策略,其刷新缓存的机制 偶尔会导致获取不到刚更新的新版本。 |
还是没办法更新的最新的版本,😢😢 |
emmm, npm 源确实已经更新到 |
可以了,因为我用的是淘宝的镜像,所以才没有,换成官方镜像就可以了;太感谢作者了😊除此之外还有小问题想请教作者博客页面个人头像展示的问题就是这样展示不出图片头像 配置文件和图片路径如下:页面效果导航栏的LOGO但是导航栏的logo可以使用个人头像上相同路径的图片展示效果如下然后有一个问题就是,没有在主题配置里找到可以配置出和DEMO一样的导航栏logo,就是展示出下面这样的效果 |
这个是由于在很早期的时候实现该文能时,忽略了
我不确定你是单指 logo 还是指 logo + title, 主题的这个效果,是配置了 theme.logo, 和 userConfig.title 实现的: export default defineUserConfig({
lang: 'zh-CN',
base: '/',
+ title: 'Plume 主题',
theme: themePlume({
+ logo: 'logo.png'
})
}) 如果是多语言,可以这样配置: export default defineUserConfig({
lang: 'zh-CN',
base: '/',
+ locales: {
+ '/': { title: 'Plume 主题', lang: 'zh-CN' },
+ '/en/': { title: 'Plume Theme', lang: 'en-US' },
+ },
theme: themePlume({
+ logo: 'logo.png'
})
}) |
我排查下与 |
主题版本 |
你好,请问一级标题是无法显示右侧边栏吗?
MD文件
效果显示
The text was updated successfully, but these errors were encountered: