X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/70fc1d2e9e8021f14a05d54f46692a96647125bc..247c2c433d23c40db595200402bba2537e5537c1:/templates/article.html diff --git a/templates/article.html b/templates/article.html index 251decb9e..eddabe452 100644 --- a/templates/article.html +++ b/templates/article.html @@ -1,12 +1,22 @@ {% extends "base.html" %} +{% import "artinfo.html" as artinfo with context %} +{% set title=article.title %} {% 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 %}