Fix error if bgimg param is not added to config
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
{{ with resources.Get .Site.Params.bgimg -}}
|
{{ with resources.GetMatch .Site.Params.bgimg -}}
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
background: #ecedef url("{{ .Permalink | safeCSS }}") repeat;
|
background: #ecedef url("{{ .Permalink | safeCSS }}") repeat;
|
||||||
|
|||||||
Reference in New Issue
Block a user