seo improvement with titles h1/h4

This commit is contained in:
kbe
2025-08-19 17:17:09 +02:00
parent 851547b87d
commit ef6876a0d3
9 changed files with 88 additions and 103 deletions

View File

@@ -0,0 +1,13 @@
<div class="d-inline-flex">
{{ if .Params.categories }}
{{ with index .Params.categories 0 }}
{{ if and (eq (printf "%T" .) "string") }}
<a class="font-family-poppins font-small fw-medium uppercase" href="/{{ . | urlize }}">{{ . }}</a>
{{ else if and (eq (printf "%T" .) "map") }}
{{ if .name }}
<a class="font-family-poppins font-small fw-medium uppercase" href="/{{ .name | urlize }}">{{ .name }}</a>
{{ end }}
{{ end }}
{{ end }}
{{ end }}
</div>