From db98db09b9cae751f932398643f56acbc5b86031 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Mon, 24 Oct 2022 16:15:18 +0200 Subject: [PATCH] partial fixes --- layouts/index.html | 29 ++++++++++++++++++++++++++++- layouts/partials/footer.html | 7 ------- layouts/partials/header.html | 7 +++++++ layouts/partials/preloader.html | 7 +++++++ 4 files changed, 42 insertions(+), 8 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 4414e78..7a2f27f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,7 +4,7 @@ {{ if $data.homepage.slider.enable }} {{ with $data.homepage.slider }} -
+
{{ range .slider_item }} @@ -24,6 +24,33 @@
{{ end }} + {{ end }} {{ if $data.homepage.about.enable }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 53636ff..2d03faf 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -66,13 +66,6 @@ {{ $script := resources.Get "js/script.js" | minify}} - {{ if ($.Scratch.Get "photoswipeloaded") }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 4672807..715432e 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -81,4 +81,11 @@ + diff --git a/layouts/partials/preloader.html b/layouts/partials/preloader.html index 4e2ba6f..0a076bf 100644 --- a/layouts/partials/preloader.html +++ b/layouts/partials/preloader.html @@ -4,4 +4,11 @@ preloader {{ end }} + {{ end }}