How to show only social icons without the name of the social link on the sidebar, e.g., only show Facebook icon, without the name "Facebook" on the sidebar? (How to set empty key value for social links name?)
如何设置侧边栏上不显示社交链接网站的名字, 只要图标, 比如只要 Facebook 的图标, 而不要显示 "Facebook" + Facebook 图标?
you can change sidebar.swig
<a href="{{ link }}" title="{{ name }}" target="_blank">{{ name }}</a>
to
<a href="{{ link }}" title="{{ name }}" target="_blank"></a>
Need to add switch option here.
@zhuzhuyule Then how to set the _config.yml?
@wendingp for now with standart methods is not possible. You may use decision by @zhuzhuyule and it must work fine.
@wendingp alright, check PART 3 in #1697 pull, there is needed by you option.
@wendingp if you modify the sidebar.swig file, don't about _config.yml.
sidebar.swig_config.ymlsocial_icons:
enable: true
icons_only: true
transition: false
Most helpful comment
you can change
sidebar.swigto