From 4319d68ad6af72e96e23f68be6a4dac2d403a314 Mon Sep 17 00:00:00 2001 From: Ozan Hanedan Date: Fri, 5 Mar 2021 16:27:43 +0300 Subject: [PATCH 1/2] turkish character bug fix on faq shortcode --- layouts/shortcodes/faq.html | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/layouts/shortcodes/faq.html b/layouts/shortcodes/faq.html index 2cb2d64..99aa589 100644 --- a/layouts/shortcodes/faq.html +++ b/layouts/shortcodes/faq.html @@ -1,12 +1,29 @@ {{ $_hugo_config := `{ "version": 1 }` }} -
-
- - {{ .Get 0 | markdownify }} - +{{ if .Get 1 }} +
+ +
+
{{ .Inner | markdownify }}
+
-
-
{{ .Inner | markdownify }}
+{{else}} +
+ +
+
{{ .Inner | markdownify }}
+
-
\ No newline at end of file +{{end}} \ No newline at end of file From 38d6b31f390c65473d299104d604cb54c324912e Mon Sep 17 00:00:00 2001 From: Ozan Hanedan Date: Sat, 6 Mar 2021 22:49:02 +0300 Subject: [PATCH 2/2] change anchorize to sha1 on faq shortcode --- layouts/shortcodes/faq.html | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/layouts/shortcodes/faq.html b/layouts/shortcodes/faq.html index 99aa589..204863d 100644 --- a/layouts/shortcodes/faq.html +++ b/layouts/shortcodes/faq.html @@ -1,29 +1,12 @@ {{ $_hugo_config := `{ "version": 1 }` }} -{{ if .Get 1 }} -
- -
-
{{ .Inner | markdownify }}
-
+
+ -{{else}} -
- -
-
{{ .Inner | markdownify }}
-
+
+
{{ .Inner | markdownify }}
-{{end}} \ No newline at end of file +
\ No newline at end of file