Skip to content
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

header social link 显示问题 #29

Open
MironChen opened this issue Apr 27, 2020 · 4 comments
Open

header social link 显示问题 #29

MironChen opened this issue Apr 27, 2020 · 4 comments

Comments

@MironChen
Copy link

在主页时,如果将主题的 _config.yml 上的

# Menu
menu:
  关于: /about
  ARCHIVES: /archives
  # you can add here

title 设定为中文时,主页的 header 上的 social link 就会消失(图1)
图1

但在文章页内的 social link 不受影响(图2)
图2

“首页” 按钮和 “搜索...” 通过修改 themes/hexo-casper/layout/_partials/public/nav.swig实现,因此不受上述操作的影响


默认下

# Menu
menu:
  ABOUT: /about
  ARCHIVES: /archives
  # you can add here

title 设置为英文时不受影响(图3)
图3


希望能够得到中文下的解决方案

谢谢!

一点小建议:希望能够改进代码,提供 修改 lang.yml 即可实现多语言的方式

@xzhih
Copy link
Owner

xzhih commented Apr 27, 2020

试试看这样

'关于': /about

@MironChen
Copy link
Author

MironChen commented Apr 27, 2020

header显示没有问题,但是 social link 并没有变化(没有出现)

情况如上图1

@xzhih
Copy link
Owner

xzhih commented Apr 27, 2020

可能是 hexo 的问题

@MironChen
Copy link
Author

没有解决方法了吗😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants