diff options
author | Caio Lente <7017340+clente@users.noreply.github.com> | 2024-03-04 17:27:28 -0300 |
---|---|---|
committer | Caio Lente <7017340+clente@users.noreply.github.com> | 2024-03-04 17:27:28 -0300 |
commit | fe5c892af55ab8bebe11ea43d764e9f0ba7d3306 (patch) | |
tree | 5e1e7c6e77dcd759f3af26a83a5b86104579d0ec /layouts | |
parent | d0b36f11bd68eb21f7c069179e62035e47253c47 (diff) | |
download | hugo-bearcub-fe5c892af55ab8bebe11ea43d764e9f0ba7d3306.tar.gz hugo-bearcub-fe5c892af55ab8bebe11ea43d764e9f0ba7d3306.tar.bz2 |
Tags in lowercase
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 3813bd0..bade113 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -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 }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b176628..94b560f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -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 }} |