diff --git a/_config.yml b/_config.yml index 8e7e03c..c9ce991 100644 --- a/_config.yml +++ b/_config.yml @@ -14,3 +14,5 @@ plugins: - jekyll-feed - jekyll-seo-tag - jekyll-paginate + +date_format: "%b %-d, %Y" 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 }} - {{ post.date | date: "%b %-d, %Y" }} + {{ post.date | date: site.date_format }} + {%- if post.updated %} + (Updated {{ post.updated | date: site.date_format }}) + {% endif -%}

{{ post.description }}

{%- 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 • {%- if page.updated %} • {% endif -%}