Change date format to '1 Jan 2018'

This commit is contained in:
curben 2018-09-23 15:30:00 +09:30
parent ae4cf09d64
commit af69c9a40b
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<article class="archive-article archive-type-<%= post.layout %>">
<div class="archive-article-inner">
<header class="archive-article-header">
<%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MMM D YYYY'}) %>
<%- partial('post/date', {class_name: 'archive-article-date', date_format: 'D MMM YYYY'}) %>
<%- partial('post/title', {class_name: 'archive-article-title'}) %>
</header>
</div>

View File

@ -25,7 +25,7 @@
<ul class="article-meta">
<li>
<span class="label"><%= __('date_published') %>:</span>
<%- partial('post/date', {class_name: 'article-date', date_format: null}) %>
<%- partial('post/date', {class_name: 'article-date', date_format: 'D MMM YYYY'}) %>
</li>
<% if (post.categories && post.categories.length) { %>
<li>