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

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/notice.html')
-rw-r--r--layouts/shortcodes/notice.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/shortcodes/notice.html b/layouts/shortcodes/notice.html
index 16fd01d..d48ac25 100644
--- a/layouts/shortcodes/notice.html
+++ b/layouts/shortcodes/notice.html
@@ -1,10 +1,10 @@
<div class="shortcode-notice {{ .Get 0 }}">
<div class="shortcode-notice-title {{ .Get 0 }}">
- {{ if len .Params | eq 2 }}
+ {{- if len .Params | eq 2 -}}
{{ .Get 1 }}
{{ else }}
{{ .Get 0 }}
- {{ end }}
+ {{- end -}}
</div>
- {{ .Inner }}
-</div>
+ <div class="notice-content">{{ .Inner | markdownify }}</div>
+</div> \ No newline at end of file