From 7ffa175989b6a005527ce6f038fd8b199d493225 Mon Sep 17 00:00:00 2001
From: Nathan Fradet <56734983+Natooz@users.noreply.github.com>
Date: Sun, 8 Oct 2023 11:19:13 +0200
Subject: [PATCH] fixes shortcodes
---
.../layouts/shortcodes/contact-form.html | 36 ++++++-------
.../layouts/shortcodes/figure.html | 52 +++++++++----------
.../layouts/shortcodes/gifoid.html | 12 ++---
.../layouts/shortcodes/img.html | 40 +++++++-------
.../layouts/shortcodes/social.html | 6 +--
.../layouts/shortcodes/embed-pdf.html | 34 ++++++------
6 files changed, 90 insertions(+), 90 deletions(-)
diff --git a/page/themes/color-your-world/layouts/shortcodes/contact-form.html b/page/themes/color-your-world/layouts/shortcodes/contact-form.html
index 43ab2af..e91e5d4 100644
--- a/page/themes/color-your-world/layouts/shortcodes/contact-form.html
+++ b/page/themes/color-your-world/layouts/shortcodes/contact-form.html
@@ -5,42 +5,42 @@
{{ end }}
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/page/themes/color-your-world/layouts/shortcodes/figure.html b/page/themes/color-your-world/layouts/shortcodes/figure.html
index 5bba2ab..f13dc60 100644
--- a/page/themes/color-your-world/layouts/shortcodes/figure.html
+++ b/page/themes/color-your-world/layouts/shortcodes/figure.html
@@ -54,35 +54,35 @@
>
-
+
-
+
{{ with $caption }}
{{ . }}
{{ end }}
-
+
{{ else }}
{{ if .input }}
-
+
{{ . }}
{{ end }}
-
+
{{ else }}
-
+
{{ with ($destination | safeURL) }}
-
+
-
+
{{ with $caption }}
{{ . }}
{{ end }}
@@ -115,5 +115,5 @@
{{ end }}
{{ end }}
-
-{{ end }}
+
+{{ end }}
\ No newline at end of file
diff --git a/page/themes/color-your-world/layouts/shortcodes/gifoid.html b/page/themes/color-your-world/layouts/shortcodes/gifoid.html
index cb00bcf..9818cf3 100644
--- a/page/themes/color-your-world/layouts/shortcodes/gifoid.html
+++ b/page/themes/color-your-world/layouts/shortcodes/gifoid.html
@@ -57,17 +57,17 @@
+
\ No newline at end of file
diff --git a/page/themes/color-your-world/layouts/shortcodes/img.html b/page/themes/color-your-world/layouts/shortcodes/img.html
index 2b813de..0fe457a 100644
--- a/page/themes/color-your-world/layouts/shortcodes/img.html
+++ b/page/themes/color-your-world/layouts/shortcodes/img.html
@@ -53,16 +53,16 @@
>
-
+
{{ else }}
@@ -70,11 +70,11 @@
{{ if .input }}
{{ else }}
-
+
{{ with ($destination | safeURL) }}
{{ end }}
{{ end }}
{{ end }}
-
-{{ end }}
+
+{{ end }}
\ No newline at end of file
diff --git a/page/themes/color-your-world/layouts/shortcodes/social.html b/page/themes/color-your-world/layouts/shortcodes/social.html
index 006872b..4ec526a 100644
--- a/page/themes/color-your-world/layouts/shortcodes/social.html
+++ b/page/themes/color-your-world/layouts/shortcodes/social.html
@@ -29,7 +29,7 @@
{{ end }}
-