Skip to content

Commit 49777a0

Browse files
fix: Add missing titles to callouts with headers
1 parent 389d4c6 commit 49777a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/callout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<div>
3737
<div class="call-out-type">
3838
{{ partial "lucide" (dict "context" . "icon" $icon) . }}
39-
{{ $title }}
39+
{{ if $title }}{{ $title }}{{ else }}{{ $type }}{{end}}
4040
</div>
4141
<div class="callout-content">
4242
{{- .content | markdownify -}}

0 commit comments

Comments
 (0)