summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2018-09-06 11:57:08 -0400
committerBrian Picciano <mediocregopher@gmail.com>2018-09-06 11:57:08 -0400
commit9a74b85f51943effcd57c2a858dc34edade05d9b (patch)
tree8480ae8d942c4c24c451de63c19dc8b59fa24551 /_layouts
parenta0787edb400b2e626e6705a9cf0a1312d5422833 (diff)
add 'updated' field to post headers
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/post.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index 8c132d0..27dc55e 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -16,6 +16,12 @@ layout: default
{{ page.date | date: "%b %-d, %Y" }}
</time>
+ {%- if page.updated %}
+ <time datetime="{{ page.updated | date_to_xmlschema }}" itemprop="dateModified">
+ (Updated {{ page.updated | date: "%b %-d, %Y" }})
+ </time>
+ •
+ {% endif -%}
<span itemprop="about"><em>{{ page.description }}</em></span>
</div>
</header>