blogamore/layouts/partials/metafooter.html

35 lines
1.2 KiB
HTML
Raw Normal View History

2022-11-28 19:58:24 +01:00
{{/* TODO Sollte mal aufgeteilt werden*/}}
{{ $tagsIdent := .Site.Params.Blog.Tags | default "tags" }}
{{ with (index .Params $tagsIdent) }}
2022-11-13 20:52:45 +01:00
<i data-feather="tag"></i>
<i class="bi bi-tag"></i> <!-- TODO: umstellen auf bootstrap-icons??? -->
{{ range . }}
2022-11-28 19:58:24 +01:00
{{ $href := print (absURL (printf "%s/" $tagsIdent)) (urlize .) }}
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href | relURL }}">{{ . }}</a>
2022-11-13 20:52:45 +01:00
{{ end }}
2022-11-28 19:58:24 +01:00
<i class="mx-2"></i>
2022-11-13 20:52:45 +01:00
{{ end }}
2022-11-28 19:58:24 +01:00
{{ $catIdent := .Site.Params.Blog.Categories | default "categories" }}
{{ with (index .Params $catIdent) }}
2022-11-13 20:52:45 +01:00
<!-- list -->
<i data-feather="award"></i>
{{ range . }}
2022-11-28 19:58:24 +01:00
{{ $href := print (absURL (printf "%s/" $catIdent)) (urlize .) }}
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href | relURL }}">{{ . }}</a>
2022-11-13 20:52:45 +01:00
{{ end }}
2022-11-28 19:58:24 +01:00
<i class="mx-2"></i>
2022-11-13 20:52:45 +01:00
{{ end }}
2022-11-28 19:58:24 +01:00
{{ $skillIdent := .Site.Params.KnowHow.Skills | default "skills" }}
{{ with (index .Params $skillIdent) }}
<!-- list -->
<i data-feather="code"></i>
{{ range . }}
{{ $href := print (absURL (printf "%s/" $skillIdent)) (urlize .) }}
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href | relURL }}">{{ . }}</a>
{{ end }}
<i class="mx-2"></i>
{{ end }}