aboutsummaryrefslogtreecommitdiff
path: root/_includes/outdated.html
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-25 20:31:01 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-25 20:31:01 +0100
commite7596b1b3cb58ad774aa8b7fad66d5f2298baa1a (patch)
tree4277c5abe8e4b72159a6cc07bf58581e9572cf92 /_includes/outdated.html
parent596cdbdf682ef467bd99cb87dbeeb5ac98153d19 (diff)
add stale indicator + admonition css
Diffstat (limited to '_includes/outdated.html')
-rw-r--r--_includes/outdated.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/_includes/outdated.html b/_includes/outdated.html
new file mode 100644
index 0000000..2840b70
--- /dev/null
+++ b/_includes/outdated.html
@@ -0,0 +1,5 @@
+<blockquote class="admonition hidden" x-unhide-after="{{ include.date | date: "%s" | plus: site.stale_threshold }}">
+ <p class="title">Warning</p>
+ <p>This post was last updated on {{ include.date | datefmt }}, and may no
+ longer contain accurate or up-to-date information.</p>
+</blockquote>