-
Notifications
You must be signed in to change notification settings - Fork 52
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
优化标签页的显示 #60
优化标签页的显示 #60
Conversation
显示一个「标签」似乎也并不美观...期末后尝试解决一下 |
或者交给前端去实现?有点蛋疼😂 |
@stevenjoezhang 我在 macOS 下用 Safari 和 Firefox 都未能复现(Chrome 没装 |
@idawnlight 可能没说清楚…这个sidebar-toggle的样式为 |
@stevenjoezhang 看了一下,原版 demo 是不带侧边栏的,应该是 viosey 加的时候遗留下来的问题,你觉得怎么改比较好就怎么改呗 |
研究了一下Material Design的官方文档,感觉将下图(A)处的 |
A 处也许能让侧边栏没那么单调,加了也没大问题对吧,反正这个主题已经很不符合规范了( |
好像这样也没有什么问题...我把这个PR关掉啦 |
如果一篇文章没有标签,标签页仍然会显示出来,有些不美观。

可惜Typecho并没有提供获取Tags数量的函数,因而只能变通地解决这一问题,例如通过加上“标签”二字来避免空白内容——也是这个PR的解决方案。除此之外,
page.php
中的“标签”和“编辑”还没有做多语言支持。