Use relURLs
This commit is contained in:
parent
ee51627153
commit
15a1e63122
@ -1,2 +1,2 @@
|
||||
{{ with .Site.Params.favicon }}
|
||||
<link rel="shortcut icon" href="{{ . | absURL }}" />{{ end }}
|
||||
<link rel="shortcut icon" href="{{ . }}" />{{ end }}
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user