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" %}
{% endif %}
{% if isArticle %}
{% if isArticle or isStatement %}
<article class="article">
{{ content | safe }}
</article>

View File

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

View File

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