From f995f7313c805939e9dc09b0a02ad4e2865ab693 Mon Sep 17 00:00:00 2001 From: Track3 Date: Mon, 7 Jan 2019 20:39:51 +0800 Subject: [PATCH] Remove absURL for featuredImg & bgImg See #29 --- layouts/_default/single.html | 2 +- layouts/index.html | 2 +- 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 -}} - + {{- else if .Params.images -}} {{- range first 1 .Params.images -}} 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 -}} - + {{- else if .Site.Params.images -}} {{- range first 1 .Site.Params.images -}} 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 -}} - + {{- else if .Params.images -}} {{- range first 1 .Params.images -}}