]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/article.html
Warn about broken links on WP entry header
[irc/freenode/web-7.0.git] / templates / article.html
index db501a6c0d2d765adec1908b746edfcd9aaddafc..eddabe452fc0bd4468c53140c5a73e52e2d6fc08 100644 (file)
@@ -3,7 +3,17 @@
 {% 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>