在文章title下方为每篇文章增加作者信息
This commit is contained in:
parent
6a407dc892
commit
826a654766
@ -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">
|
||||
|
@ -106,6 +106,13 @@
|
||||
color body-color
|
||||
padding-left 2rem
|
||||
border-left 4px solid body-color
|
||||
.article-author
|
||||
display block
|
||||
font-size 20px
|
||||
margin-bottom 3rem
|
||||
text-decoration none
|
||||
color body-color
|
||||
padding-left 2rem
|
||||
|
||||
.article-footer
|
||||
clearfix()
|
||||
|
2
source/dist/main.css
vendored
2
source/dist/main.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user