Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
fix: hide date information for pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ppoffice committed Jul 7, 2016
1 parent 70416a5 commit 9ea2ad2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions layout/common/article.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
<%- partial('post/title', { class_name: 'article-title' }) %>
</header>
<% } %>
<div class="article-subtitle">
<%- partial('post/date', { class_name: 'article-date', date_format: null }) %>
<%- partial('post/tag') %>
</div>
<% if (post.layout != 'page') { %>
<div class="article-subtitle">
<%- partial('post/date', { class_name: 'article-date', date_format: null }) %>
<%- partial('post/tag') %>
</div>
<% } %>
<div class="article-entry" itemprop="articleBody">
<%- post.content %>
</div>
Expand Down

0 comments on commit 9ea2ad2

Please sign in to comment.