File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,6 +150,9 @@ excerpt_length: 50
150150# and RSS feed title
151151title-separator : " -"
152152
153+ # Ruby Date Format
154+ date_format : " %B %-d, %Y"
155+
153156# --- Don't need to touch anything below here (but you can if you want) --- #
154157
155158# Output options (more information on Jekyll's site)
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ <h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
3636 {% endif %}
3737
3838 {% if include.type == "post" %}
39- < span class ="post-meta "> Posted on {{ page.date | date: "%B %-d, %Y" }}</ span >
39+ < span class ="post-meta "> Posted on {{ page.date | date: site.date_format }}</ span >
4040 {% endif %}
4141 </ div >
4242 </ div >
@@ -61,7 +61,7 @@ <h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
6161 {% endif %}
6262
6363 {% if include.type == "post" %}
64- < span class ="post-meta "> Posted on {{ page.date | date: "%B %-d, %Y" }}</ span >
64+ < span class ="post-meta "> Posted on {{ page.date | date: site.date_format }}</ span >
6565 {% endif %}
6666 </ div >
6767 </ div >
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ <h2 id="{{- tag -}}" class="linked-section">
2525 < div class ="tag-entry ">
2626 < a href ="{{ post.url | relative_url }} "> {{- post.title -}}</ a >
2727 < div class ="entry-date ">
28- < time datetime ="{{- post.date | date_to_xmlschema -}} "> {{- post.date | date: "%B %d, %Y" -}}</ time >
28+ < time datetime ="{{- post.date | date_to_xmlschema -}} "> {{- post.date | date: site.date_format -}}</ time >
2929 </ div >
3030 </ div >
3131 {%- endfor -%}
You can’t perform that action at this time.
0 commit comments