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 }}
<div>
{{ 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 }}
</div>
{{ end }}

View File

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