]> jfr.im git - irc/freenode/web-7.0.git/blob - templates/article.html
Add a warning about outdatedness on imported blogs
[irc/freenode/web-7.0.git] / templates / article.html
1 {% extends "base.html" %}
2 {% import "artinfo.html" as artinfo with context %}
3 {% set title=article.title %}
4 {% block content %}
5 <div class="main">
6 {%- if article.source.meta.imported is defined %}
7 <div class="art-warning">
8 This article was imported from freenode's wordpress blog, and is
9 likely out of date. It's preserved here in the interest of
10 history, but please don't treat it as an authoritative source in
11 any context.
12 </div>
13 {%- endif %}
14 <div class="art-info">
15 {{ artinfo.info(article) }}
16 </div>
17 <div class="art-body">
18 {{ article.render() }}
19 </div>
20 {{ artinfo.nav(article) }}
21 </div>
22 {% endblock content %}