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

github.com/josephhutch/aether.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Hutchinson <hutch7995@gmail.com>2020-07-31 22:36:11 +0300
committerJoe Hutchinson <hutch7995@gmail.com>2020-07-31 22:36:11 +0300
commitafdc89a74ebc85b03bd12f0d38c4a6f0498b32dc (patch)
tree418e87cf16e5ec0d0dc78fdbdba2b7da8048042b
parent6da41297a007e4a7cf0f144440392f34fb96b6f0 (diff)
Fix error if bgimg param is not added to config
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index e9e54b1..463efca 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -33,7 +33,7 @@
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ template "_internal/google_analytics.html" . }}
- {{ with resources.Get .Site.Params.bgimg -}}
+ {{ with resources.GetMatch .Site.Params.bgimg -}}
<style>
body {
background: #ecedef url("{{ .Permalink | safeCSS }}") repeat;