From 38d6b31f390c65473d299104d604cb54c324912e Mon Sep 17 00:00:00 2001 From: Ozan Hanedan Date: Sat, 6 Mar 2021 22:49:02 +0300 Subject: [PATCH] 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