diff options
author | Caio Lente <7017340+clente@users.noreply.github.com> | 2024-03-05 15:24:13 -0300 |
---|---|---|
committer | Caio Lente <7017340+clente@users.noreply.github.com> | 2024-03-05 15:24:13 -0300 |
commit | c8673f43ba330f88f74336b500ce0d082b3d378e (patch) | |
tree | dfe1b2961373fa528e786fcd1903570d35ba5f08 /layouts/_default | |
parent | fe5c892af55ab8bebe11ea43d764e9f0ba7d3306 (diff) | |
download | hugo-bearcub-c8673f43ba330f88f74336b500ce0d082b3d378e.tar.gz hugo-bearcub-c8673f43ba330f88f74336b500ce0d082b3d378e.tar.bz2 |
Fix #13
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/list.html | 4 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index bade113..e6cc177 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -16,7 +16,7 @@ {{ if .Params.link }} <a href="{{ .Params.link }}" target="_blank">{{ .Title }} ↪</a> {{ else }} - <a href="{{ .Permalink }}">{{ .Title }}</a> + <a href="{{ .RelPermalink }}">{{ .Title }}</a> {{ end }} </li> {{ else }} @@ -28,7 +28,7 @@ {{ if not .Data.Singular }} <div> {{ range .Site.Taxonomies.tags }} - <a class="blog-tags" href="{{ .Page.Permalink }}">#{{ lower .Page.Title }}</a> + <a class="blog-tags" href="{{ .Page.RelPermalink }}">#{{ lower .Page.Title }}</a> {{ end }} </div> {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 94b560f..4ff8d75 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 }}">#{{ lower .LinkTitle }}</a> + <a class="blog-tags" href="{{ .RelPermalink }}">#{{ lower .LinkTitle }}</a> {{ end }} </p> {{ with .Site.Params.author.email }} |