We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f802118 commit 8e59d72Copy full SHA for 8e59d72
layouts/_default/faq-question.html
@@ -2,6 +2,21 @@
2
{{- partial "navbar_temp.html" . -}}
3
<div class="faq-question__page">
4
<div class="faq-question__content">
5
+ {{ $last := time .Params.last_updated }} {{ $sixMonthsAgo := now.AddDate 0
6
+ -6 0 }} {{ if lt $last $sixMonthsAgo }}
7
+ <div
8
+ style="
9
+ background-color: #ea0e0e;
10
+ color: #000000;
11
+ border: 1px solid #ffeeba;
12
+ padding: 1rem;
13
+ margin-top: 1rem;
14
+ "
15
+ >
16
+ ⚠️ <strong>Note:</strong> This page was last updated more than 6 months
17
+ ago and may be out of date.
18
+ </div>
19
+ {{ end }}
20
<h1 class="faq-question__title">{{ title .Title }}</h1>
21
<p class="faq-question__summary">
22
<i><b>Summary:</b> {{ .Params.summary }}</i>
0 commit comments