lowercase hashtags

This commit is contained in:
cellarspoon 2022-01-17 12:43:02 +01:00
parent 5d3aba3146
commit 0db2fc3a93
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410

View File

@ -5,7 +5,7 @@
<h2 class="p-name"><a href="{{ .Permalink }}" class="u-url"> <h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">
{{ range $i, $e := .Params.tags -}} {{ range $i, $e := .Params.tags -}}
{{- if $i -}} {{ end -}} {{- if $i -}} {{ end -}}
<a href='{{ "/tags/" | relLangURL }}{{ . | urlize }}'>#{{ $e | humanize }}</a> <a href='{{ "/tags/" | relLangURL }}{{ . | urlize }}'>#{{ $e | humanize | lower }}</a>
{{- end -}} {{- end -}}
</a></h2> </a></h2>
</header> </header>
@ -38,4 +38,4 @@
{{ end }} {{ end }}
</footer> </footer>
</article> </article>
</div> </div>