diff --git a/themes/vocabulary_theme/templates/blog-categories.html b/themes/vocabulary_theme/templates/blog-categories.html index 036d6b142..3c605756c 100644 --- a/themes/vocabulary_theme/templates/blog-categories.html +++ b/themes/vocabulary_theme/templates/blog-categories.html @@ -5,12 +5,12 @@ {% block title %}Categories{% endblock %} {% block body %} -
+

Categories

{{ render_categories(this) }}
-
+ {% endblock %} diff --git a/themes/vocabulary_theme/templates/blog-series-list.html b/themes/vocabulary_theme/templates/blog-series-list.html index 3a323b3b6..ca2e3a274 100644 --- a/themes/vocabulary_theme/templates/blog-series-list.html +++ b/themes/vocabulary_theme/templates/blog-series-list.html @@ -5,12 +5,12 @@ {% block title %}All Series{% endblock %} {% block body %} -
+

All Series

{{ render_series(this) }}
-
+ {% endblock %} diff --git a/themes/vocabulary_theme/templates/cc-search-guide.html b/themes/vocabulary_theme/templates/cc-search-guide.html index 80b8547d5..03bc97bca 100644 --- a/themes/vocabulary_theme/templates/cc-search-guide.html +++ b/themes/vocabulary_theme/templates/cc-search-guide.html @@ -21,7 +21,7 @@

Steps

{% set step.number = step.number + 1 %} - {% endif%} + {% endif %} {% endfor %} diff --git a/themes/vocabulary_theme/templates/layout.html b/themes/vocabulary_theme/templates/layout.html index 07ac83b41..9a9f57620 100644 --- a/themes/vocabulary_theme/templates/layout.html +++ b/themes/vocabulary_theme/templates/layout.html @@ -115,7 +115,7 @@

Our Work Relies On You!

{% for crumb in crumbs %} {% if this._slug == crumb %} -
  • {{ this.title }}
  • +
  • {{ this.title }}
  • {% else %} {% set i = loop.index %} diff --git a/themes/vocabulary_theme/templates/macros/authors_gravatar.html b/themes/vocabulary_theme/templates/macros/authors_gravatar.html index 2c7cce45e..3bebf7141 100644 --- a/themes/vocabulary_theme/templates/macros/authors_gravatar.html +++ b/themes/vocabulary_theme/templates/macros/authors_gravatar.html @@ -1,15 +1,15 @@ {% macro render_author_gravatar(post, skip_gravatar=false) %} {% if not skip_gravatar %} - {# only display gravatar for first author so layout is broken #} + {# only display gravatar for first author so layout is not broken #} {% set author = post.author[0] %} {% set current_author = post.parent.parent.children.get('authors').children.get(author) %}
    - {% if post.author|length >= 2 %} - multiple authors image - {% else %} - author's gravatar - {% endif %} + {% if post.author|length >= 2 %} + multiple authors image + {% else %} + author's gravatar + {% endif %}
    {% endif %} diff --git a/themes/vocabulary_theme/templates/macros/og_image.html b/themes/vocabulary_theme/templates/macros/og_image.html index 6f363d795..41d02b202 100644 --- a/themes/vocabulary_theme/templates/macros/og_image.html +++ b/themes/vocabulary_theme/templates/macros/og_image.html @@ -15,11 +15,12 @@ {% if author and author.md5_hashed_email %} {% set gravatarURL = 'https://secure.gravatar.com/avatar/' + author.md5_hashed_email + '?size=300&d=mp' %} {% set queryParams = queryParams + '&images=' + gravatarURL %} - {% set pageTitle = page.title + "
    By " + render_author_name(author) + "" %} + {% set pageTitle = page.title + "
    By " + render_author_name(author) + "" %} {% endif %} {% endif %} {% set url = baseUrl + pageTitle + '.png' + queryParams %} + {% endmacro %} diff --git a/themes/vocabulary_theme/templates/macros/series.html b/themes/vocabulary_theme/templates/macros/series.html index 87b77b8b1..7d68e0575 100644 --- a/themes/vocabulary_theme/templates/macros/series.html +++ b/themes/vocabulary_theme/templates/macros/series.html @@ -1,7 +1,13 @@ {% from "macros/posts.html" import render_posts %} {% macro render_series(series) %} - {% for serie in site.query(series.path) %} - - {% endfor %} +
    +

    List of Series

    + {% for serie in site.query(series.path) %} + + {% endfor %} +
    {% endmacro %} +