diff options
author | uvok cheetah | 2021-03-07 20:44:39 +0100 |
---|---|---|
committer | uvok cheetah | 2021-03-07 20:44:39 +0100 |
commit | d625d76319d7a66816df64954cf422b66fee76f5 (patch) | |
tree | 0f0f073b4ace1fd6c52b233624b7e76cf7ca61b6 /_layouts | |
parent | cc0fd1db6595e437274131e87f8c2c1f827d1db0 (diff) |
Fix condition and format of post modification
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/post.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 815e1e3..74a37f4 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -11,9 +11,9 @@ layout: default {%- assign date_format = "%A, %e. %B %Y, %k:%M" -%} {{ page.date | date: date_format }} </time> - {%- if page.last_modified_at.size -%} + {%- if page.last_modified_at -%} • - <time class="dt-updated" datetime="{{ post.last_modified_at | date_to_xmlschema }}" itemprop="dateUpdated"> + <time class="dt-updated" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateUpdated"> Updated: {{ page.last_modified_at | date: date_format }} </time> {%- endif -%} |