Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/excerpt.html')
-rw-r--r--layouts/shortcodes/excerpt.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/shortcodes/excerpt.html b/layouts/shortcodes/excerpt.html
index 7d0eb33..bc09f47 100644
--- a/layouts/shortcodes/excerpt.html
+++ b/layouts/shortcodes/excerpt.html
@@ -1,7 +1,8 @@
+
{{with .Get "hidden"}}
{{if eq . "false"}}
- {{$.Inner}}
+ {{$.Inner | safeHTML}}
{{end}}
{{else}}
- {{.Inner}}
+ {{.Inner | safeHTML}}
{{end}} \ No newline at end of file