Merge pull request #256 from ay0o/fix_background

Fix background image parameter
This commit is contained in:
Djordje Atlialp 2021-01-27 11:06:05 +01:00 committed by GitHub
commit c52c91ab51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
{{ define "body" }} {{ define "body" }}
<body class="{{ if .Site.Params.background_image }} background-image" style="background-image: url('{{ .Site.Params.backgroundImage }}');" {{ else }}"{{ end }}> <body class="{{ if .Site.Params.backgroundImage }} background-image" style="background-image: url('{{ .Site.Params.backgroundImage }}');" {{ else }}"{{ end }}>
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}