summaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html4
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 -%}