X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/9a9c412adb16bb781a4542be0b5fb42fecc31ff4..51b5a8f6d35a47e8c2fb2cd161b6703833c3b964:/templates/article.html diff --git a/templates/article.html b/templates/article.html index 8d3ce0694..578a50995 100644 --- a/templates/article.html +++ b/templates/article.html @@ -1,15 +1,23 @@ {% extends "base.html" %} +{% import "artinfo.html" as artinfo with context %} +{% set title=article.title %} +{% set robots=article.robots %} {% block content %} -
-

{{ article.title }}  - {{ article.datetime }} by {{ article.author }}

-

{{ article.content }}

- +
+ {%- if article.source.meta.imported is defined %} +
+ 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. +
+ {%- endif %} +
+ {{ artinfo.info(article) }} +
+
+ {{ article.render() }} +
+ {{ artinfo.nav(article) }}
{% endblock content %}