-
+ {% set taxonomy = get_taxonomy(kind=kind) %}
+ {% for term in taxonomy.items %}
+
- {{ term.name }} + {% endfor %} +
diff --git a/config.toml b/config.toml index 59b1283..e42d998 100644 --- a/config.toml +++ b/config.toml @@ -3,6 +3,10 @@ title = "em.0x45.cz" compile_sass = true build_search_index = false +taxonomies = [ + {name = "categories", feed = false} +] + [markdown] highlight_code = true smart_punctuation = true diff --git a/templates/categories/list.html b/templates/categories/list.html new file mode 100644 index 0000000..09763b9 --- /dev/null +++ b/templates/categories/list.html @@ -0,0 +1 @@ +{% extends "index.html" %} diff --git a/templates/categories/single.html b/templates/categories/single.html new file mode 100644 index 0000000..09763b9 --- /dev/null +++ b/templates/categories/single.html @@ -0,0 +1 @@ +{% extends "index.html" %} diff --git a/templates/index.html b/templates/index.html index 3860049..db47b81 100644 --- a/templates/index.html +++ b/templates/index.html @@ -16,12 +16,7 @@