parent
9bf6a9ce8a
commit
e75ec76c8f
2 changed files with 22 additions and 21 deletions
@ -1,22 +1,23 @@ |
|||||||
<article class="post reveal <%= (post.title) ? "" : "no-title" %>"> |
<article class="post reveal <%= (post.title) ? "" : "no-title" %>"> |
||||||
<%- partial('meta',{post:post}) %> |
<%- partial('meta',{post:post}) %> |
||||||
<section class="article typo"> |
<section class="article typo"> |
||||||
<%- post.excerpt || post.description || post.content %> |
<div class="article-entry" itemprop="articleBody"> |
||||||
<% if (post.readmore != false && (post.excerpt || post.description)) { %> |
<%- post.excerpt || post.description || post.content %> |
||||||
<div class="readmore"> |
<% if (post.readmore != false && (post.excerpt || post.description)) { %> |
||||||
<a href="<%- url_for(post.path) %>" class="flat-box"> |
<div class="readmore"> |
||||||
<i class="fas fa-book-open fa-fw" aria-hidden="true"></i> |
<a href="<%- url_for(post.path) %>" class="flat-box"> |
||||||
<%- __('post.read_more') %> |
<i class="fas fa-book-open fa-fw" aria-hidden="true"></i> |
||||||
</a> |
<%- __('post.read_more') %> |
||||||
</div> |
</a> |
||||||
<% } %> |
</div> |
||||||
|
<% } %> |
||||||
<% if (post.tags && post.tags.length) { %> |
</div> |
||||||
<div class="full-width auto-padding tags"> |
<% if (post.tags && post.tags.length) { %> |
||||||
<% post.tags.each(function(item){ %> |
<div class="full-width auto-padding tags"> |
||||||
<a href="<%- url_for(item.path) %>"><i class="fas fa-hashtag fa-fw"></i><%=item.name %></a> |
<% post.tags.each(function(item){ %> |
||||||
<%})%> |
<a href="<%- url_for(item.path) %>"><i class="fas fa-hashtag fa-fw"></i><%=item.name %></a> |
||||||
</div> |
<%})%> |
||||||
<% } %> |
</div> |
||||||
</section> |
<% } %> |
||||||
|
</section> |
||||||
</article> |
</article> |
||||||
|
Loading…
Reference in new issue