在文章title下方为每篇文章增加作者信息

This commit is contained in:
Wang Wei
2021-04-08 19:36:55 +08:00
parent 6a407dc892
commit 826a654766
3 changed files with 9 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
<% if (post.link || post.title){ %>
<header class="article-header">
<%- partial('post/title', {class_name: 'article-title'}) %>
<%- partial('post/author', {class_name: 'article-author'}) %>
</header>
<% } %> <% if (index || is_post()) { %>
<div class="article-meta">