We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9820aeb + 3ff7585 commit 8ebcbb4Copy full SHA for 8ebcbb4
layouts/partials/banner.html
@@ -10,7 +10,7 @@
10
{{- if isset . "md" -}}
11
<!-- Show markdown if "md" is provided -->
12
{{- $bannerPage := readFile .md -}}
13
- <div class="banner banner-{{ .type }}">
+ <div class="banner{{ if .type }} banner-{{ .type }}{{ end }}">
14
{{ $bannerPage | markdownify }}
15
</div>
16
{{- else -}}
0 commit comments