From 6c8ab46a73e104c7fdb6cb54f159cc1b7399c1e6 Mon Sep 17 00:00:00 2001 From: Emruz Hossain Date: Thu, 16 Jun 2022 00:51:31 +0600 Subject: [PATCH] Use `RelPermalink` for background url (#605) Signed-off-by: hossainemruz --- layouts/_default/single.html | 2 +- layouts/partials/sections/achievements/entry.html | 6 +++--- layouts/partials/sections/home.html | 11 +++++------ 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6e16994..38733d0 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -40,7 +40,7 @@
-
+
diff --git a/layouts/partials/sections/achievements/entry.html b/layouts/partials/sections/achievements/entry.html index ec4727d..b697668 100644 --- a/layouts/partials/sections/achievements/entry.html +++ b/layouts/partials/sections/achievements/entry.html @@ -12,7 +12,7 @@ {{/* don't use "background-image: url('{{ $achievementImageSm }}');" Otherwise the images won't show in https://themes.gohugo.io/ */}}

{{ .title }}

@@ -20,6 +20,6 @@

{{ .title }}

{{ .summary | markdownify }}

- - + +
diff --git a/layouts/partials/sections/home.html b/layouts/partials/sections/home.html index 6303db9..37608da 100644 --- a/layouts/partials/sections/home.html +++ b/layouts/partials/sections/home.html @@ -77,28 +77,27 @@