diff options
author | HombreLaser <buran@silosneeded.com> | 2025-06-07 21:34:10 -0600 |
---|---|---|
committer | HombreLaser <buran@silosneeded.com> | 2025-06-07 21:34:10 -0600 |
commit | 615cc99bdfa5ed32ef4f44fdc6c31697d75ebd1d (patch) | |
tree | 07f24496e31ddd51999d17d662c483db88ba5282 /tags.liquid | |
parent | 09c5cf737b46f8bae35fe05ba22e8383ae027c24 (diff) |
Add new theme
Diffstat (limited to 'tags.liquid')
-rw-r--r-- | tags.liquid | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tags.liquid b/tags.liquid new file mode 100644 index 0000000..039b5f7 --- /dev/null +++ b/tags.liquid @@ -0,0 +1,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> |