Adjust statement layout

This commit is contained in:
Helen Chong 2024-05-22 13:08:19 +08:00
parent ef7652cb20
commit 236fa01f1f
3 changed files with 4 additions and 5 deletions

View File

@ -39,7 +39,7 @@
{% include "global/toc.njk" %} {% include "global/toc.njk" %}
{% endif %} {% endif %}
{% if isArticle %} {% if isArticle or isStatement %}
<article class="article"> <article class="article">
{{ content | safe }} {{ content | safe }}
</article> </article>

View File

@ -2,8 +2,6 @@
layout: main/content layout: main/content
--- ---
<article class="article"> {{ content | safe }}
{{ content | safe }}
<p>(This {{ title }} statement was last updated on {{ updated | formatDate }})</p> <p>(This {{ title }} statement was last updated on {{ updated | formatDate }})</p>
</article>

View File

@ -1,6 +1,7 @@
{ {
"tags": "statements", "tags": "statements",
"layout": "main/statement", "layout": "main/statement",
"isStatement": true,
"permalink": "/{{ page.fileSlug }}/", "permalink": "/{{ page.fileSlug }}/",
"eleventyComputed":{ "eleventyComputed":{
"eleventyNavigation":{ "eleventyNavigation":{