diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/home.html | 5 | ||||
-rw-r--r-- | _layouts/post.html | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/_layouts/home.html b/_layouts/home.html index a4802ec..856f298 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -11,7 +11,10 @@ layout: default {{ post.title | escape }} </a> </h2> - <span>{{ post.date | date: "%b %-d, %Y" }}</span> + <span>{{ post.date | date: site.date_format }}</span> + {%- if post.updated %} + <span>(Updated {{ post.updated | date: site.date_format }})</span> + {% endif -%} <p>{{ post.description }}</p> </li> {%- endfor -%} diff --git a/_layouts/post.html b/_layouts/post.html index 27dc55e..7d74c5d 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -13,12 +13,12 @@ layout: default </span> <!-- • --> <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"> - {{ page.date | date: "%b %-d, %Y" }} + {{ page.date | date: site.date_format }} </time> • {%- if page.updated %} <time datetime="{{ page.updated | date_to_xmlschema }}" itemprop="dateModified"> - (Updated {{ page.updated | date: "%b %-d, %Y" }}) + (Updated {{ page.updated | date: site.date_format }}) </time> • {% endif -%} |