master
xaoxuu 4 years ago
parent 09c3fa6ecc
commit b975d4752c
  1. 18
      layout/_partial/post.ejs
  2. 2
      source/css/_layout/article.styl

@ -9,15 +9,15 @@
<% } else { %>
<%- post.content %>
<% } %>
<% if (theme.layout.on_list.readmore) { %>
<% if ((post.readmore != false) && (post.excerpt || post.description || post.link)) { %>
<div class="button readmore">
<a href="<%- url_for(post.link || post.path) %>">
<%- theme.layout.on_list.readmore %>
</a>
</div>
<% } %>
<% } %>
</div>
<% if (theme.layout.on_list.readmore) { %>
<% if ((post.readmore != false) && (post.excerpt || post.description || post.link)) { %>
<div class="button readmore">
<a href="<%- url_for(post.link || post.path) %>">
<%- theme.layout.on_list.readmore %>
</a>
</div>
<% } %>
<% } %>
</section>
</article>

@ -340,6 +340,6 @@
margin-bottom: $gap-paragraph
article .readmore
margin-top: $gap-row
margin-top: $gap-paragraph
>a
font-size: $fontsize-meta

Loading…
Cancel
Save