Skip to content

Commit

Permalink
Use page.last_updated instead of page.updated in policy.html template
Browse files Browse the repository at this point in the history
  • Loading branch information
remibetin committed Oct 31, 2024
1 parent e81cec7 commit 3c27939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/policy.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<h1 class="post-title">{% include multilang-title.html title=page.country %}</h1>

<div class="post-content">
<p>Last Updated: {{page.updated | date: "%-d %B %Y" }}{%if page.updatemsg%} – {{page.updatemsg}}{%endif%}</p>
<p>Last Updated: {{page.last_updated | date: "%-d %B %Y" }}{%if page.updatemsg%} – {{page.updatemsg}}{%endif%}</p>
{% if page.relatedpages %}{% for r in page.relatedpages %}<p>Related page: <a href="{{r.url}}">{{r.title}}</a></p>{% endfor %}{% endif %}
{% for p in page.policies %}
{% assign theslug = p.title.en | slugify %}
Expand Down

0 comments on commit 3c27939

Please sign in to comment.