summaryrefslogtreecommitdiffstatshomepage
path: root/templates/macros.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/macros.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/macros.html b/templates/macros.html
index dc621f9..ccce644 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -1,12 +1,13 @@
{% macro render_post(post, class="feed") -%}
+<aside class="gutter">
+ <img class="avatar" alt="Authored by: {{ config.extra.author }}" src="{{ config.extra.avatar }}" width="64" />
+</aside>
<article class="{{ class }}">
<header>
- <img class="avatar" alt="{{ config.extra.author }}" src="{{ config.extra.avatar }}" width="64" />
<div class="banner smaller">
<div class="info">
- <a class="bold-hover" title="permalink to this post" href="{{ post.permalink }}">{% if class == "related" %}№ {{ post.slug }} {% else %}§{% endif %}</a>
<time class="mute" datetime="{{ post.date }}" title="{{ post.date }}">{{ post.date | date(format="%F") }}</time>
- <h2 class="mute title">{{ post.title }}</h2>
+ <h2 class="mute title"><a title="permalink to this post" href="{{ post.permalink }}">{{ post.title }}</a></h2>
</div>
{%- if "tags" in post.taxonomies %}
<nav class="tags">
@@ -33,7 +34,7 @@
{%- endmacro render_pagination -%}
{%- macro render_tags(tags) %}
-{%- for tag in tags %}
+{%- for tag in tags | sort %}
<li><a class="tag" href="{{ get_taxonomy_url(kind="tags", name=tag) }}">{{ tag }}</a></li>
{%- endfor %}
{%- endmacro render_tags %}