fi3ework / hexo-theme-archer

🎯 A smart and modern theme for Hexo.
https://fi3ework.github.io/hexo-theme-archer
MIT License
1.52k stars 273 forks source link

开启多作者模式,并添加blog中出现的作者功能咨询 #276

Open WoodyBuendia opened 4 years ago

WoodyBuendia commented 4 years ago

尝试修改_config.yml,开启多作者模式,修改如下: author: on: true #true:开启多作者模式 authors: author1: a1 author2: a2

实际生效: 原文作者:[object Object]

请问在archer主题中,如何开启多作者模式。

LolipopJ commented 3 years ago

目前的 Archer 主题尚未支持多作者。

layout/post.ejs 渲染底部的 License 时,只是简单地输出了 author 项,没有对多作者的情况进行处理。

<div class="license-wrapper">
  <p><%- __('author') %>:<a href="<%- config.url %>"><%- config.author %></a>
</div>

很好的问题,我们将在未来改进!😃