Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
WoodyBuendia opened this issue Jun 22, 2020 · 1 comment
Open

Comments

@WoodyBuendia
Copy link

WoodyBuendia commented Jun 22, 2020

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

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

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

@LolipopJ
Copy link
Collaborator

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

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants