diff options
Diffstat (limited to 'tags.html')
-rw-r--r-- | tags.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tags.html b/tags.html new file mode 100644 index 0000000..7892800 --- /dev/null +++ b/tags.html @@ -0,0 +1,28 @@ +--- +title: Tags +layout: default +id: tags +toc: false +post: false +--- + +<ul> + {% assign tags = site.data.tags %} + {% for tag in tags %} + <li class="stub"> + <details> + <summary> + {{ tag[0] }} ({{ tag[1] }}) + </summary> + <ul> + {% assign posts = site.items | where_exp: "post", "post.tags contains tag[0]" %} + {% for post in posts %} + <li><a href="{{ post.url }}">{{ post.title }}</a></li> + {% endfor %} + </ul> + </details> + </li> + {% endfor %} +</ul> + + |