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 }}