sbbs/themes/hueman/layout/common/post/date.ejs

7 lines
285 B
Plaintext
Raw Normal View History

2018-09-03 07:41:16 +00:00
<% if (post.date) { %>
<div class="<%= class_name %>">
<a href="<%- url_for(post.path) %>" class="<%= class_name %>">
<time datetime="<%= date_xml(post.date) %>" itemprop="datePublished"><%= date(post.date, date_format) %></time>
</a>
</div>
<% } %>