

NexT Version:
NexT Scheme:
看了下是sidebar.swig的代码逻辑有点小问题。71行开始的代码:
<div class="links-of-author motion-element">
{% if theme.social %}
{% for name, link in theme.social %}
<span class="links-of-author-item">
<a href="{{ link }}" target="_blank">
{% if theme.social_icons.enable %}
<i class="fa fa-{{ theme.social_icons[name] || 'globe' }}"></i> {{ name }}
{% endif %}
</a>
</span>
{% endfor %}
{% endif %}
</div>
一旦false了,name也就没了。所以将name移出if判断即可。
已提交PR
我看之前有人提到过这个bug:
https://github.com/iissnan/hexo-theme-next/issues/525
已 Merge,谢谢