aboutsummaryrefslogtreecommitdiff
path: root/_includes/outdated.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/outdated.html')
-rw-r--r--_includes/outdated.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/_includes/outdated.html b/_includes/outdated.html
new file mode 100644
index 0000000..954ad14
--- /dev/null
+++ b/_includes/outdated.html
@@ -0,0 +1,11 @@
+<blockquote class="admonition warning" hidden x-unhide-after="{{ include.date | date: "%s" | plus: site.stale_threshold }}">
+ {% if page.lang == "ja" %}
+ {% include i18n/outdated.ja.html %}
+ {% elsif page.lang == "nl" %}
+ {% include i18n/outdated.nl.html %}
+ {% else %}
+ <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>
+ {% endif %}
+</blockquote>