From 48a7a80e5ede2d4bd217fbcc9fbfbbc9b96f5a86 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Wed, 3 Jul 2024 17:09:36 +0800 Subject: [PATCH] Add link list updated date condition --- src/_includes/main/links.njk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/_includes/main/links.njk b/src/_includes/main/links.njk index 97617acc..67f84e71 100644 --- a/src/_includes/main/links.njk +++ b/src/_includes/main/links.njk @@ -25,6 +25,10 @@ isContentDivided: true {{ group.data.title }} {% endheadingAnchor %} {{ group.templateContent | safe }} + + {% if group.data.updated %} +

(This list was last updated on {{ group.data.updated | formatDate }})

+ {% endif %} Back to tabs {%- endfor %}