Tags in lowercase

This commit is contained in:
Caio Lente 2024-03-04 17:27:28 -03:00
parent d0b36f11bd
commit fe5c892af5
No known key found for this signature in database
GPG Key ID: E66D381776EFC03A
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
{{ if not .Data.Singular }} {{ if not .Data.Singular }}
<div> <div>
{{ range .Site.Taxonomies.tags }} {{ range .Site.Taxonomies.tags }}
<a class="blog-tags" href="{{ .Page.Permalink }}">#{{ .Page.Title }}</a> <a class="blog-tags" href="{{ .Page.Permalink }}">#{{ lower .Page.Title }}</a>
{{ end }} {{ end }}
</div> </div>
{{ end }} {{ end }}

View File

@ -13,7 +13,7 @@
</content> </content>
<p> <p>
{{ range (.GetTerms "tags") }} {{ range (.GetTerms "tags") }}
<a class="blog-tags" href="{{ .Permalink }}">#{{ .LinkTitle }}</a> <a class="blog-tags" href="{{ .Permalink }}">#{{ lower .LinkTitle }}</a>
{{ end }} {{ end }}
</p> </p>
{{ with .Site.Params.author.email }} {{ with .Site.Params.author.email }}