add 'updated' field to post headers

This commit is contained in:
Brian Picciano 2018-09-06 11:57:08 -04:00
parent a0787edb40
commit 9a74b85f51
2 changed files with 7 additions and 0 deletions

View File

@ -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>

View File

@ -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