You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<% if(post.author || config.author){ %>
|
|
|
|
<div class='new-meta-item author'>
|
|
|
|
<% if (post.author) { %>
|
|
|
|
<a href="<%- url_for(post.author.url) %>" rel="nofollow">
|
|
|
|
<% if (post.author.avatar) { %>
|
|
|
|
<img src="<%- post.author.avatar %>">
|
|
|
|
<% } else { %>
|
|
|
|
<i class="<%- theme.meta.author.icon %>" aria-hidden="true"></i>
|
|
|
|
<% } %>
|
|
|
|
<p><%- post.author.name %></p>
|
|
|
|
</a>
|
|
|
|
<% } else { %>
|
|
|
|
<a href="<%- url_for(config.url) %>" rel="nofollow">
|
|
|
|
<% if (config.avatar) { %>
|
|
|
|
<img src="<%- config.avatar %>">
|
|
|
|
<% } else { %>
|
|
|
|
<i class="<%- theme.meta.author.icon %>" aria-hidden="true"></i>
|
|
|
|
<% } %>
|
|
|
|
<p><%- config.author %></p>
|
|
|
|
</a>
|
|
|
|
<% } %>
|
|
|
|
</div>
|
|
|
|
<% } %>
|