author.ejs 258 B

123456789
  1. <% if (is_post()){ %>
  2. <div class="article-author"><i class="fa fa-user"></i>
  3. <% if (post.author != null) { %>
  4. <%= post.author %>
  5. <% } else { %>
  6. <a href="<%= config.url %>" title="<%= config.author %>"><%= config.author %></a>
  7. </div>
  8. <% } %>
  9. <% } %>