Umstellung der Meta-Daten in Partials
This commit is contained in:
parent
be11de4217
commit
1e520f3f39
9 changed files with 22 additions and 40 deletions
9
layouts/partials/taxonomy/metatag.html
Normal file
9
layouts/partials/taxonomy/metatag.html
Normal 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 }}
|
Loading…
Add table
Add a link
Reference in a new issue