diff --git a/layouts/partials/banner.html b/layouts/partials/banner.html new file mode 100644 index 0000000..01c3ecb --- /dev/null +++ b/layouts/partials/banner.html @@ -0,0 +1,27 @@ +{{ $data := index site.Data.banner }} + +{{ if $data.banner.enable }} +{{ with $data.banner }} +{{ "" | safeHTML }} + + + + + + {{ if .icon }} + + + + {{ end }} + {{ .title | markdownify }} + {{ .content | markdownify }} + {{ if .button.enable }} + {{ with .button }} + {{ .label }} + {{ end }} + {{ end }} + + +{{ "" | safeHTML }} +{{ end }} +{{ end }}
{{ .content | markdownify }}