diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2018-09-06 11:57:08 -0400 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2018-09-06 11:57:08 -0400 |
commit | 9a74b85f51943effcd57c2a858dc34edade05d9b (patch) | |
tree | 8480ae8d942c4c24c451de63c19dc8b59fa24551 | |
parent | a0787edb400b2e626e6705a9cf0a1312d5422833 (diff) |
add 'updated' field to post headers
-rw-r--r-- | _layouts/post.html | 6 | ||||
-rw-r--r-- | _posts/2017-9-6-brian-bars.md | 1 |
2 files changed, 7 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> diff --git a/_posts/2017-9-6-brian-bars.md b/_posts/2017-9-6-brian-bars.md index d626d67..2c56272 100644 --- a/_posts/2017-9-6-brian-bars.md +++ b/_posts/2017-9-6-brian-bars.md @@ -3,6 +3,7 @@ title: Brian Bars description: >- Cheap and easy to make, healthy, vegan, high-carb, high-protein. "The Good Stuff". +updated: 2018-01-18 --- It actually blows my mind it's been 4 years since I used this blog. It was |