diff --git a/_config.yml b/_config.yml index 6e765a3..d4a50a8 100644 --- a/_config.yml +++ b/_config.yml @@ -150,6 +150,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 1fea242..5338f22 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -36,7 +36,7 @@ {% 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 @@ {% 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 1f40c71..b42ef87 100644 --- a/tags.html +++ b/tags.html @@ -25,7 +25,7 @@ title: 'Tag Index'
{{- post.title -}}
- +
{%- endfor -%}