parent
ec21c5927f
commit
22e81dfc6b
11 changed files with 48 additions and 20 deletions
@ -1,8 +1,12 @@ |
||||
<% if(post.author || config.author){ %> |
||||
<div class='new-meta-item author'> |
||||
<a href="<%- url_for(config.url) %>" rel="nofollow"> |
||||
<i class="fas fa-user" aria-hidden="true"></i> |
||||
<%- post.author || config.author %> |
||||
<% if (config.avatar) { %> |
||||
<img src="<%- config.avatar %>"> |
||||
<% } else { %> |
||||
<i class="fas fa-user" aria-hidden="true"></i> |
||||
<% } %> |
||||
<p><%- post.author || config.author %></p> |
||||
</a> |
||||
</div> |
||||
<% } %> |
||||
|
@ -1,6 +1,6 @@ |
||||
<div class="new-meta-item date"> |
||||
<a class='notlink'> |
||||
<i class="fas fa-calendar-alt" aria-hidden="true"></i> |
||||
<%= date(post.date, theme.date_format) %> |
||||
<p><%- date(post.date, theme.date_format) %></p> |
||||
</a> |
||||
</div> |
||||
|
@ -1,6 +1,6 @@ |
||||
<div class="new-meta-item date" itemprop="dateUpdated" datetime="<%- moment(post.updated).format() %>"> |
||||
<a class='notlink'> |
||||
<i class="fas fa-save" aria-hidden="true"></i> |
||||
<%- __('post.updated') + ' ' + date(post.updated, theme.updated_date_format) %> |
||||
<p><%- __('post.updated') + ' ' + date(post.updated, theme.updated_date_format) %></p> |
||||
</a> |
||||
</div> |
||||
|
Loading…
Reference in new issue