diff options
author | ronv <ronalds.vilcins@gmail.com> | 2020-01-30 20:19:33 +0200 |
---|---|---|
committer | ronv <ronalds.vilcins@gmail.com> | 2020-01-30 20:19:33 +0200 |
commit | a1a0a4ad553f59906930d44bf56b089421d2c7a5 (patch) | |
tree | ca8b44675434a07394c63a4b0bb22390ed261589 /_layouts/tags.html | |
parent | bc7896a33321ad0c6e22ad60f20e498f55900c12 (diff) | |
download | wiki-a1a0a4ad553f59906930d44bf56b089421d2c7a5.tar.gz |
initial commit
Diffstat (limited to '_layouts/tags.html')
-rw-r--r-- | _layouts/tags.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/_layouts/tags.html b/_layouts/tags.html new file mode 100644 index 0000000..360aa70 --- /dev/null +++ b/_layouts/tags.html @@ -0,0 +1,15 @@ +--- +layout: default +title: Tags +--- + +<section class="posts"> + <h1>{{ page.title }}</h1> +{% assign tags = site.tags | sort %} +<ul> +{% for tag in tags %} + <li><a href="/tag/{{ tag | first | slugify }}/">{{ tag[0] | replace:'-', ' ' }} ({{ tag | last | size }}){% unless forloop.last %}, {% endunless %}</a></li> +{% endfor %} +</ul> + +</section>
\ No newline at end of file |