]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/article.html
Update policies.md
[irc/freenode/web-7.0.git] / templates / article.html
index de10e5f871fe865aa0b09520e8059ea0d94bb226..eddabe452fc0bd4468c53140c5a73e52e2d6fc08 100644 (file)
@@ -1,8 +1,19 @@
 {% extends "base.html" %}
 {% import "artinfo.html" as artinfo with context %}
+{% set title=article.title %}
 {% 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>