diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-30 12:04:53 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-30 12:04:53 +0200 |
| commit | a0e6cc111d54ff4e252f442f6f66061f51139f2f (patch) | |
| tree | 37b3a98ef328fea0cb2cf37973f78c233d2567c6 /layouts/partials/head.html | |
| parent | 0766820ba957f6d3644f3bdc8c5367e83b9fbefa (diff) | |
| download | gohugo-theme-ed-a0e6cc111d54ff4e252f442f6f66061f51139f2f.tar.gz | |
Fix base URL
Diffstat (limited to 'layouts/partials/head.html')
| -rw-r--r-- | layouts/partials/head.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d9b87f8..242d914 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -11,7 +11,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width,initial-scale=1.0,shrink-to-fit=no"> - <base href="{{ "/" | absURL }}"> + <base href="{{ .Site.BaseURL }}"> <link rel="canonical" href="{{ .Permalink }}"> <title>{{ block "title" . }}{{ with .Params.Title }}{{ . }} - {{ end }}{{ .Site.Title }}{{ end }}</title> |
