diff --git a/themes/vocabulary_theme/templates/macros/authors_gravatar.html b/themes/vocabulary_theme/templates/macros/authors_gravatar.html index b6e45efc..fe5744c8 100644 --- a/themes/vocabulary_theme/templates/macros/authors_gravatar.html +++ b/themes/vocabulary_theme/templates/macros/authors_gravatar.html @@ -5,7 +5,11 @@ {% set current_author = post.parent.parent.children.get('authors').children.get(author) %}
+ {% if post.author|length >= 2 %} + multiple authors image + {% else %} gravatar + {% endif %}
{% endif %} diff --git a/themes/vocabulary_theme/templates/macros/posts.html b/themes/vocabulary_theme/templates/macros/posts.html index 468ef357..c898e786 100644 --- a/themes/vocabulary_theme/templates/macros/posts.html +++ b/themes/vocabulary_theme/templates/macros/posts.html @@ -4,15 +4,7 @@ {% macro render_post_summary(post, skip_gravatar=false) %}
- {% if post.author|length >= 2 %} -
-
- multiple authors image -
-
- {% else %} - {{ render_author_gravatar(post, skip_gravatar) }} - {% endif %} + {{ render_author_gravatar(post, skip_gravatar) }}

{{ post.title }}

{{ render_authors_byline(post) }}