blogamore/layouts/partials/metafooter.html

34 lines
1.2 KiB
HTML

{{/* TODO Sollte mal aufgeteilt werden*/}}
{{ $tagsIdent := .Site.Params.Blog.Tags | default "tags" }}
{{ with (index .Params $tagsIdent) }}
<i data-feather="tag"></i>
<i class="bi bi-tag"></i> <!-- TODO: umstellen auf bootstrap-icons??? -->
{{ range . }}
{{ $href := print (absURL (printf "%s/" $tagsIdent)) (urlize .) }}
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href | relURL }}">{{ . }}</a>
{{ end }}
<i class="mx-2"></i>
{{ end }}
{{ $catIdent := .Site.Params.Blog.Categories | default "categories" }}
{{ with (index .Params $catIdent) }}
<!-- list -->
<i data-feather="award"></i>
{{ range . }}
{{ $href := print (absURL (printf "%s/" $catIdent)) (urlize .) }}
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href | relURL }}">{{ . }}</a>
{{ end }}
<i class="mx-2"></i>
{{ end }}
{{ $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 }}