File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,9 @@ excerpt_length: 50
150
150
# and RSS feed title
151
151
title-separator : " -"
152
152
153
+ # Ruby Date Format
154
+ date_format : " %B %-d, %Y"
155
+
153
156
# --- Don't need to touch anything below here (but you can if you want) --- #
154
157
155
158
# 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>
36
36
{% endif %}
37
37
38
38
{% 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 >
40
40
{% endif %}
41
41
</ div >
42
42
</ div >
@@ -61,7 +61,7 @@ <h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
61
61
{% endif %}
62
62
63
63
{% 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 >
65
65
{% endif %}
66
66
</ div >
67
67
</ div >
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ <h2 id="{{- tag -}}" class="linked-section">
25
25
< div class ="tag-entry ">
26
26
< a href ="{{ post.url | relative_url }} "> {{- post.title -}}</ a >
27
27
< 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 >
29
29
</ div >
30
30
</ div >
31
31
{%- endfor -%}
You can’t perform that action at this time.
0 commit comments