diff options
Diffstat (limited to '')
-rw-r--r-- | templates/macros.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/macros.html b/templates/macros.html index ef3cf34..991a6b4 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -1,9 +1,9 @@ {% macro render_post(post, mention=false, in_feed=true) -%} -{% if mention -%} +{%- if mention %} <article class="mention"> -{% else -%} +{%- else -%} <article> -{% endif -%} +{%- endif %} <header> <img class="avatar" alt="{{ config.extra.author }}" src="{{ config.extra.avatar }}" /> <div class="banner smaller"> @@ -22,7 +22,7 @@ </header> <section class="post">{{ post.content | safe }}</section> </article> -{% endmacro render_post -%} +{%- endmacro render_post -%} {%- macro render_pagination(paginator) %} {%- if paginator.number_pagers > 1 %} |