aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--templates/page.html4
2 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8abc1db..99a3b24 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ To enable listing of pages in homepage add the following in `config.toml`
```toml
[extra]
-list_pages = false
+list_pages = true
```
### Header and footer nav links
diff --git a/templates/page.html b/templates/page.html
index aab169f..35221dc 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -37,12 +37,16 @@ Table of contents
{% for tag in page.taxonomies.tags %}
<a href="/tags/{{ tag | slugify }}">#{{ tag }}</a>
{% endfor %}
+{% if page.taxonomies.categories %}
{% for category in page.taxonomies.categories %}
<a href="/categories/{{ category | slugify }}">+{{ category }}</a>
{% endfor %}
+{% endif %}
+{% if page.taxonomies.contexts %}
{% for context in page.taxonomies.contexts %}
<a href="/contexts/{{ context | slugify }}">@{{ context }}</a>
{% endfor %}
{% endif %}
+{% endif %}
</p>
{% endblock footer %} \ No newline at end of file