diff options
-rw-r--r-- | layouts/partials/header.html | 8 | ||||
-rw-r--r-- | layouts/partials/scripts.html | 2 | ||||
-rw-r--r-- | layouts/partials/stylesheets.html | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2ea5e89..e17b027 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -24,13 +24,13 @@ {{ partial "icon.html" "external" }} {{ .Name }} </a> - {{ else if (isset .Page.Params "icon") }} - <a href="{{ .URL | relLangURL }}" class="link-icon" title="{{ .Name }}" aria-label="{{ .Name }}"> + {{ else if (isset .Params "icon") }} + <a href="{{ .URL }}" class="link-icon" title="{{ .Name }}" aria-label="{{ .Name }}"> <span class="visually-hidden">{{ .Name }}</span> - {{ partial "icon.html" .Page.Params.icon }} + {{ partial "icon.html" .Params.icon }} </a> {{ else }} - <a href="{{ .URL | relLangURL }}">{{ .Name }}</a> + <a href="{{ .URL }}">{{ .Name }}</a> {{ end }} </li> {{ end }} diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index f294a50..1522765 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -1 +1 @@ -<script src="/theme.js" async></script> +<script src="{{ .Site.BaseURL }}theme.js" async></script> diff --git a/layouts/partials/stylesheets.html b/layouts/partials/stylesheets.html index 2ebc10c..3af837a 100644 --- a/layouts/partials/stylesheets.html +++ b/layouts/partials/stylesheets.html @@ -1 +1 @@ -<link rel="stylesheet" href="/theme.css" media="all"> +<link rel="stylesheet" href="{{ .Site.BaseURL }}theme.css" media="all"> |