From da59d61e784c50864ed17ab1aa06811bf6674eb2 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 4414e782..7a2f27fc 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 53636ff5..2d03fafa 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 46728076..715432e6 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 4e2ba6f4..0a076bf6 100644 --- a/layouts/partials/preloader.html +++ b/layouts/partials/preloader.html @@ -4,4 +4,11 @@ preloader {{ end }} + {{ end }}