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