mirror of https://gitlab.com/curben/blog
Change date format to '1 Jan 2018'
This commit is contained in:
parent
ae4cf09d64
commit
af69c9a40b
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue