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