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

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

Open WoodyBuendia opened this issue 5 years ago • 1 comments

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

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

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

WoodyBuendia avatar Jun 22 '20 06:06 WoodyBuendia

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

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

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

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

LolipopJ avatar May 22 '21 18:05 LolipopJ