This commit is contained in:
Caio Lente 2024-03-05 15:24:13 -03:00
parent fe5c892af5
commit c8673f43ba
No known key found for this signature in database
GPG Key ID: E66D381776EFC03A
4 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@
{{ if .Params.link }} {{ if .Params.link }}
<a href="{{ .Params.link }}" target="_blank">{{ .Title }} ↪</a> <a href="{{ .Params.link }}" target="_blank">{{ .Title }} ↪</a>
{{ else }} {{ else }}
<a href="{{ .Permalink }}">{{ .Title }}</a> <a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }} {{ end }}
</li> </li>
{{ else }} {{ else }}
@ -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 }}">#{{ lower .Page.Title }}</a> <a class="blog-tags" href="{{ .Page.RelPermalink }}">#{{ 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 }}">#{{ lower .LinkTitle }}</a> <a class="blog-tags" href="{{ .RelPermalink }}">#{{ lower .LinkTitle }}</a>
{{ end }} {{ end }}
</p> </p>
{{ with .Site.Params.author.email }} {{ with .Site.Params.author.email }}

View File

@ -1,4 +1,4 @@
<a class="skip-link" href="#main-content">{{ i18n "skip-link" }}</a> <a class="skip-link" href="#main-content">{{ i18n "skip-link" }}</a>
<a href="{{ relURL .Site.Home.Permalink }}" class="title"><h1>{{ .Site.Title }}</h1></a> <a href="{{ relURL .Site.Home.RelPermalink }}" class="title"><h1>{{ .Site.Title }}</h1></a>
<nav>{{- partial "nav.html" . -}}</nav> <nav>{{- partial "nav.html" . -}}</nav>

View File

@ -12,7 +12,7 @@
<!-- Create a link to every translation --> <!-- Create a link to every translation -->
{{ range where .Site.Languages "Lang" "!=" .Page.Lang }} {{ range where .Site.Languages "Lang" "!=" .Page.Lang }}
{{ with (index $translations .Lang) }} {{ with (index $translations .Lang) }}
<a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a> <a href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a>
{{ else }} {{ else }}
<!-- The complicated setup was necessary to make a grayed out link --> <!-- The complicated setup was necessary to make a grayed out link -->
{{ if not .Params.hideUntranslated }} {{ if not .Params.hideUntranslated }}