Umstellung der Meta-Daten in Partials

This commit is contained in:
mdn 2022-11-28 22:36:47 +01:00
parent be11de4217
commit 1e520f3f39
9 changed files with 22 additions and 40 deletions

View file

@ -0,0 +1,9 @@
{{ with (index .Params .Ident) }}
<i data-feather="{{ $.Feather }}"></i>
<i class="bi bi-tag"></i> <!-- TODO: umstellen auf bootstrap-icons??? -->
{{ range . }}
{{ $href := print (absURL (printf "%s/" $.Ident)) (urlize .) }}
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href | relURL }}">{{ . }}</a>
{{ end }}
<i class="mx-2"></i>
{{ end }}