read more button

i18n
xaoxuu 6 years ago
parent 81c6b81cbb
commit 4a8b7f83f8
  1. 5
      layout/_partial/post.ejs

@ -19,7 +19,10 @@
<%- post.excerpt || post.content %> <%- post.excerpt || post.content %>
<% if (post.excerpt) { %> <% if (post.excerpt) { %>
<div class="readmore"> <div class="readmore">
<a href="<%- url_for(post.path) %>" class="flat-box">READ MORE</a> <a href="<%- url_for(post.path) %>" class="flat-box">
<i class="fas fa-book-open fa-fw" aria-hidden="true"></i>
阅读全文
</a>
</div> </div>
<% } %> <% } %>

Loading…
Cancel
Save