From 236fa01f1fbe0e7e9b8d66126a8758ca3ef419d1 Mon Sep 17 00:00:00 2001
From: Helen Chong <119173961+helenclx@users.noreply.github.com>
Date: Wed, 22 May 2024 13:08:19 +0800
Subject: [PATCH] Adjust statement layout
---
src/_includes/global/content.njk | 2 +-
src/_includes/main/statement.njk | 6 ++----
src/statements/statements.11tydata.json | 1 +
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/_includes/global/content.njk b/src/_includes/global/content.njk
index 40077d93..484988e8 100644
--- a/src/_includes/global/content.njk
+++ b/src/_includes/global/content.njk
@@ -39,7 +39,7 @@
{% include "global/toc.njk" %}
{% endif %}
- {% if isArticle %}
+ {% if isArticle or isStatement %}
(This {{ title }} statement was last updated on {{ updated | formatDate }})
(This {{ title }} statement was last updated on {{ updated | formatDate }})
\ No newline at end of file diff --git a/src/statements/statements.11tydata.json b/src/statements/statements.11tydata.json index a099724e..c44dfa78 100644 --- a/src/statements/statements.11tydata.json +++ b/src/statements/statements.11tydata.json @@ -1,6 +1,7 @@ { "tags": "statements", "layout": "main/statement", + "isStatement": true, "permalink": "/{{ page.fileSlug }}/", "eleventyComputed":{ "eleventyNavigation":{