summaryrefslogtreecommitdiff
path: root/tags.liquid
blob: 039b5f789ef138ecb772343c3adf44e44ec8cc4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
layout: default
permalink: /tags.html
---

<div class="column">
    <h1 class="mb-4">
	{{ site.data[site.active_lang].strings.global.tags }}
    </h1>
    {% capture site_tags %}
	{% for tag in site.tags %}
	    {{ tag | first }}{% unless forloop.last %},{% endunless %}
	{% endfor %}
    {% endcapture %}
    {% assign tags_list = site_tags | split:',' | sort_natural %}
    {% for tag in tags_list %}
	<div class="columns is-vcentered">
	    <div class="column is-1">
		<svg class="tag-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-tag-fill" viewBox="0 0 16 16">
		    <path d="M2 1a1 1 0 0 0-1 1v4.586a1 1 0 0 0 .293.707l7 7a1 1 0 0 0 1.414 0l4.586-4.586a1 1 0 0 0 0-1.414l-7-7A1 1 0 0 0 6.586 1zm4 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"/>
		</svg>
	    </div>
	    <div class="column">
		<a class="tag-name" href="/tags/{{ tag | slugify: "latin" }}" >
		    {{ tag }}
		</a>
	    </div>
	</div>
    {% endfor %}
</div>