Skip to content

Commit 08d17a8

Browse files
committed
fix: collapse markdown parameter
1 parent 4ef3f75 commit 08d17a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎layouts/partials/bootstrap/collapse.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{{- $markdown := true }}
1212
{{- if .IsNamedParams -}}
1313
{{- $heading = .Get "heading" -}}
14-
{{- with .Get "markdown" }}{{ $markdown = . }}{{ end -}}
14+
{{- if isset $.Params "markdown" }}{{ $markdown = $.Get "markdown" }}{{ end -}}
1515
{{- with .Get "style" }}{{ $style = . }}{{ end -}}
1616
{{- with .Get "expand" }}{{ $expand = . }}{{ end -}}
1717
{{- with .Get "rounded" }}{{ $rounded = . }}{{ end -}}

0 commit comments

Comments
 (0)