]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/article.html
Add 2020-11-28-chanserv-cloak-changes.md (#476)
[irc/freenode/web-7.0.git] / templates / article.html
index db501a6c0d2d765adec1908b746edfcd9aaddafc..578a50995eb99a9b670c609a4be4170d6b3a19ab 100644 (file)
@@ -1,9 +1,20 @@
 {% extends "base.html" %}
 {% import "artinfo.html" as artinfo with context %}
 {% set title=article.title %}
+{% set robots=article.robots %}
 {% block content %}
 <div class="main">
-    {{ artinfo.info(article) }}
+    {%- if article.source.meta.imported is defined %}
+    <div class="art-warning">
+        This article was imported from freenode's wordpress blog, and is
+        likely out of date. It's preserved here in the interest of
+        history, but please don't treat it as an authoritative source in
+        any context. Links on this page may be out of date and broken.
+    </div>
+    {%- endif %}
+    <div class="art-info">
+        {{ artinfo.info(article) }}
+    </div>
     <div class="art-body">
     {{ article.render() }}
     </div>