diff --git a/_layouts/post.liquid b/_layouts/post.liquid index 2dc810a..6601318 100644 --- a/_layouts/post.liquid +++ b/_layouts/post.liquid @@ -19,7 +19,8 @@ layout: default

Created on {{ page.date | date: '%B %d, %Y' }} {% if page.author %}by {{ page.author }}{% endif %} - {% if page.last_updated %}, last updated on {{ page.last_updated | date: '%B %d, %Y' }}{% endif %} + {% assign last_date = page.last_modified_at | default: page.last_updated %} + {% if last_date %}, last updated on {{ last_date | date: '%B %d, %Y' }}{% endif %} {% if page.meta %}• {{ page.meta }}{% endif %}

diff --git a/_posts/2024-01-27-vega-lite.md b/_posts/2024-01-27-vega-lite.md index 099eb88..e889570 100644 --- a/_posts/2024-01-27-vega-lite.md +++ b/_posts/2024-01-27-vega-lite.md @@ -2,7 +2,7 @@ layout: post title: a post with vega lite date: 2024-01-27 00:20:00 -last_updated: 2024-04-14 04:30:00 +last_modified_at: 2024-04-14 04:30:00 description: this is what included vega lite code could look like tags: formatting charts categories: sample-posts