diff --git a/_config.yml b/_config.yml index 9c0e053c90c7..fe3085def58d 100644 --- a/_config.yml +++ b/_config.yml @@ -171,6 +171,9 @@ excerpt_length: 50 # and RSS feed title title-separator: "-" +# Ruby Date Format +date_format: "%B %-d, %Y" + # --- Don't need to touch anything below here (but you can if you want) --- # # Output options (more information on Jekyll's site) diff --git a/_includes/header.html b/_includes/header.html index 1fea242c6e54..5338f226a5f2 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -36,7 +36,7 @@

{{ page.subtitle }}

{% endif %} {% if include.type == "post" %} - Posted on {{ page.date | date: "%B %-d, %Y" }} + Posted on {{ page.date | date: site.date_format }} {% endif %} @@ -61,7 +61,7 @@

{{ page.subtitle }}

{% endif %} {% if include.type == "post" %} - Posted on {{ page.date | date: "%B %-d, %Y" }} + Posted on {{ page.date | date: site.date_format }} {% endif %} diff --git a/tags.html b/tags.html index 1f40c71a0864..b42ef876c4da 100644 --- a/tags.html +++ b/tags.html @@ -25,7 +25,7 @@

{{- post.title -}}
{%- endfor -%}