X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/b9f1cb6954cefd0cca684c376ba464f63fb9b232..9e03ff7537bf1ae4f1140bb67c3fd98933da4819:/templates/artinfo.html diff --git a/templates/artinfo.html b/templates/artinfo.html index f7b797773..31a2d41ea 100644 --- a/templates/artinfo.html +++ b/templates/artinfo.html @@ -1,21 +1,19 @@ -{% macro info(article) %} -
- {{ article.title }}  - {{ article.author }} on {{ article.datetime.astimezone().date() }} -
+{% macro info(article, what="h1") %} +<{{what}} class="art">{{ article.title }} +{{ article.author }} on {{ article.datetime.astimezone().date() }} {% endmacro %} {% macro nav(article) %}
{% if article.older -%} - older + previous article {%- else -%} {%- endif -%} - all - {%- if article.newer %} - newer - {%- else %} + all + {%- if article.newer -%} + next article + {%- else -%} {%- endif %}