hexo-theme-casper icon indicating copy to clipboard operation
hexo-theme-casper copied to clipboard

header social link 显示问题

Open MironChen opened this issue 4 years ago • 4 comments

在主页时,如果将主题的 _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 即可实现多语言的方式

MironChen avatar Apr 27 '20 00:04 MironChen

试试看这样

'关于': /about

xzhih avatar Apr 27 '20 03:04 xzhih

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

情况如上图1

MironChen avatar Apr 27 '20 03:04 MironChen

可能是 hexo 的问题

xzhih avatar Apr 27 '20 10:04 xzhih

没有解决方法了吗😢

MironChen avatar Apr 27 '20 11:04 MironChen