From 8e59d728ded418f9a85d7179b7649f48ba37ed70 Mon Sep 17 00:00:00 2001 From: Ivan Santiago Guevara Date: Sat, 21 Jun 2025 20:33:02 -0400 Subject: [PATCH] add warning banner --- layouts/_default/faq-question.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/layouts/_default/faq-question.html b/layouts/_default/faq-question.html index 36df31115..784f7861b 100644 --- a/layouts/_default/faq-question.html +++ b/layouts/_default/faq-question.html @@ -2,6 +2,21 @@ {{- partial "navbar_temp.html" . -}}
+ {{ $last := time .Params.last_updated }} {{ $sixMonthsAgo := now.AddDate 0 + -6 0 }} {{ if lt $last $sixMonthsAgo }} +
+ ⚠️ Note: This page was last updated more than 6 months + ago and may be out of date. +
+ {{ end }}

{{ title .Title }}

Summary: {{ .Params.summary }}