taxonomies are optional in pages

pull/2/head
José Lopes 5 years ago
parent a8a63801a8
commit 85c04db4ca

@ -15,6 +15,7 @@
{% endif %}
</dd>
{% if page.taxonomies.categories %}
<dt>{{ config.extra.label_taxonomy }}</dt>
<dd>
<a href="{{ get_taxonomy_url(kind="categories", name=page.taxonomies.categories[0]) }}">
@ -26,6 +27,7 @@
{% endfor %}
</a>
</dd>
{% endif %}
<dt>{{ config.extra.label_reading }}</dt>
<dd>{{ page.reading_time }}'</dd>

@ -2,7 +2,7 @@ name = "zola.386"
description = "Zola port of the BOOTSTRA.386 theme."
license = "MIT"
homepage = "https://github.com/lopes/zola.386"
min_version = "0.1.6"
min_version = "0.1.7"
demo = "https://zola-386.netlify.com"
[author]

Loading…
Cancel
Save