From 0dee64635d72ca989cfa1196e27048e148d5666b Mon Sep 17 00:00:00 2001 From: Jan Fader Date: Wed, 22 Dec 2021 18:04:13 +0100 Subject: [PATCH] move actual code to partial --- layouts/_default/single.html | 19 +------------------ layouts/partials/isso.html | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 18 deletions(-) create mode 100644 layouts/partials/isso.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 80ac16e..72cc1de 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -34,24 +34,7 @@ {{ end }} {{ if .Site.Params.isso.enabled }} -
- - -
-
-
-
+ {{ partial "isso.html" . }} {{ end }} {{ end }} diff --git a/layouts/partials/isso.html b/layouts/partials/isso.html new file mode 100644 index 0000000..2e03b0f --- /dev/null +++ b/layouts/partials/isso.html @@ -0,0 +1,18 @@ +
+ + +
+
+
+