]> jfr.im git - irc/freenode/web-7.0.git/blame - templates/artinfo.html
Update policies.md
[irc/freenode/web-7.0.git] / templates / artinfo.html
CommitLineData
512215ac 1{% macro info(article, what="h1") %}
5a791e57
EK
2<a href="{{ article.url }}"><{{what}} class="art">{{ article.title }}</{{what}}></a>
3<span class="art-date">{{ article.author }} on {{ article.datetime.astimezone().date() }}</span>
b9f1cb69
EK
4{% endmacro %}
5
6{% macro nav(article) %}
7<div class="art-nav">
8 {% if article.older -%}
834273d1 9 <span><a href="{{ article.older.url }}">previous article</a><span class="invisible">, </span></span>
b9f1cb69
EK
10 {%- else -%}
11 <span></span>
12 {%- endif -%}
76f0d8e1 13 <span><a href="{{ url_for("archive") }}">all</a></span>
834273d1
EK
14 {%- if article.newer -%}
15 <span><span class="invisible">, </span><a href="{{ article.newer.url }}">next article</a></span>
16 {%- else -%}
b9f1cb69
EK
17 <span></span>
18 {%- endif %}
19</div>
20{% endmacro %}