Use relURLs

This commit is contained in:
C. Lente 2023-02-13 16:50:21 -03:00
parent ee51627153
commit 15a1e63122
No known key found for this signature in database
GPG Key ID: B0B503C26E05781B
3 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
{{ with .Site.Params.favicon }}
<link rel="shortcut icon" href="{{ . | absURL }}" />{{ end }}
<link rel="shortcut icon" href="{{ . }}" />{{ end }}

View File

@ -1,2 +1,2 @@
<a href="{{ site.Home.Permalink }}" class="title"><h2>{{ .Site.Title }}</h2></a>
<a href="{{ relURL .Site.Home.Permalink }}" class="title"><h2>{{ .Site.Title }}</h2></a>
<nav>{{- partial "nav.html" . -}}</nav>

View File

@ -1,5 +1,5 @@
{{ range .Site.Menus.main.ByWeight }}
<a href="{{ absLangURL .URL }}">{{ .Name }}</a>
<a href="{{ relLangURL .URL }}">{{ .Name }}</a>
{{ end }}
<a href='mailto:{{ .Site.Params.email }}?subject={{ i18n "email-subject" }}"{{ default .Site.Title .Page.Title }}"'>Email</a>
<a href="{{ .Site.Language.Params.params.blogPath }}/index.xml">RSS</a>