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 %>">
|
<article class="archive-article archive-type-<%= post.layout %>">
|
||||||
<div class="archive-article-inner">
|
<div class="archive-article-inner">
|
||||||
<header class="archive-article-header">
|
<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'}) %>
|
<%- partial('post/title', {class_name: 'archive-article-title'}) %>
|
||||||
</header>
|
</header>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<ul class="article-meta">
|
<ul class="article-meta">
|
||||||
<li>
|
<li>
|
||||||
<span class="label"><%= __('date_published') %>:</span>
|
<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>
|
</li>
|
||||||
<% if (post.categories && post.categories.length) { %>
|
<% if (post.categories && post.categories.length) { %>
|
||||||
<li>
|
<li>
|
||||||
|
|
Loading…
Reference in New Issue