From 0e3f9da482c9812d28dbb5dff6bd54fdc84b4d72 Mon Sep 17 00:00:00 2001 From: Leilukin 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 %}