Skip to content

Commit a828b8c

Browse files
committed
Replace modified_date with last_modified_at since jekyll-seo-tag would consider the later variable
1 parent f3acc91 commit a828b8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_layouts/post.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}
1212
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
1313
{{ page.date | date: date_format }}
1414
</time>
15-
{%- if page.modified_date -%}
15+
{%- if page.last_modified_at -%}
1616
~
17-
{%- assign mdate = page.modified_date | date_to_xmlschema -%}
17+
{%- assign mdate = page.last_modified_at | date_to_xmlschema -%}
1818
<time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
1919
{{ mdate | date: date_format }}
2020
</time>

0 commit comments

Comments
 (0)