diff options
author | igor <ilaborie@gmail.com> | 2021-09-15 14:30:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 14:30:09 +0300 |
commit | 70a3872d4fddf72d637c5e780ee72ca73225f720 (patch) | |
tree | c5a2908e02ff7e4bc6b4da11f02f79a1fa2ccb4c | |
parent | e7c62815e13bda5c0769e988d05346aeb6dbd2f8 (diff) | |
parent | 7e493fdb7a4334df10149810160e407341565329 (diff) |
Merge pull request #25 from githubmonkey/master
Bug fix
-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"> |