]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/article.html
readme: adds missing dependency (build fails without it)
[irc/freenode/web-7.0.git] / templates / article.html
index aec02758d95d01ce5dd9abce14f35f567a4e1854..578a50995eb99a9b670c609a4be4170d6b3a19ab 100644 (file)
@@ -1,8 +1,17 @@
 {% extends "base.html" %}
 {% import "artinfo.html" as artinfo with context %}
 {% set title=article.title %}
+{% set robots=article.robots %}
 {% block content %}
 <div class="main">
+    {%- 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>