diff options
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/posts/single.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 900b3f7..cef2cba 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ define "head" }} {{ if .Params.featuredImg -}} - <style>.bg-img {background-image: url('{{.Params.featuredImg | absURL}}');}</style> + <style>.bg-img {background-image: url('{{.Params.featuredImg}}');}</style> {{- else if .Params.images -}} {{- range first 1 .Params.images -}} <style>.bg-img {background-image: url('{{. | absURL}}');}</style> diff --git a/layouts/index.html b/layouts/index.html index 23bb608..85ac439 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,6 +1,6 @@ {{ define "head" }} {{ if .Site.Params.bgImg -}} - <style>.bg-img {background-image: url('{{.Site.Params.bgImg | absURL}}');}</style> + <style>.bg-img {background-image: url('{{.Site.Params.bgImg}}');}</style> {{- else if .Site.Params.images -}} {{- range first 1 .Site.Params.images -}} <style>.bg-img {background-image: url('{{. | absURL}}');}</style> diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 02e3fd5..5b9e8e0 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -1,6 +1,6 @@ {{ define "head" }} {{ if .Params.featuredImg -}} - <style>.bg-img {background-image: url('{{.Params.featuredImg | absURL}}');}</style> + <style>.bg-img {background-image: url('{{.Params.featuredImg}}');}</style> {{- else if .Params.images -}} {{- range first 1 .Params.images -}} <style>.bg-img {background-image: url('{{. | absURL}}');}</style> |