From aaa2da4e22be420891a00bb1b33bdfc431db80bd Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Fri, 30 Sep 2022 18:19:17 +0530 Subject: Theming: IN-PROGRESS --- src/tags.njk | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/tags.njk (limited to 'src/tags.njk') diff --git a/src/tags.njk b/src/tags.njk new file mode 100644 index 0000000..6eff101 --- /dev/null +++ b/src/tags.njk @@ -0,0 +1,36 @@ +--- +layout: base.njk +eleventyComputed: + title: Tagged “{{ tag }}” +pagination: + data: collections + size: 1 + alias: tag + filter: + - all + - post + - posts + - tagList +permalink: /tags/{{tag}}/ +--- + +
{{ post.url }}
{% endif %}
+
+ {% for tag in post.data.tags | filterTagList %}
+ {% set tagUrl %}/tags/{{ tag | slugify }}/{% endset %}
+ {{ tag }}
+ {% endfor %}
+