Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gundamew/hugo-bingo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBing-Sheng Chen <gundamew@gmail.com>2021-06-21 12:17:47 +0300
committerBing-Sheng Chen <gundamew@gmail.com>2021-06-21 12:17:47 +0300
commite95a87fd3b3643dcf2a1622a225900aaf99fb686 (patch)
treef7bc9f7d094ef227358529bb5a07e62990c98981
parent57efe725a20a5e48b1af19e5e315de8189567c73 (diff)
fix: Remove the `base` element from layoutsv1.8.1
Remove the `base` element from `partials/head.html` to fix the relative images issue. Resolves: #6 See also: siegerts/hugo-theme-basic#2
-rw-r--r--layouts/partials/head.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 1150c16..04be408 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -2,7 +2,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{ with .Page.Title }}{{ . }} - {{ end }}{{ .Site.Title }}</title>
- <base href="{{ .Site.BaseURL }}">
{{ $normalize := resources.Get "css/normalize.css" }}
{{ $solarized := resources.Get "css/solarized-light.css" }}
{{ $style := resources.Get "css/style.css" }}