mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Convert docs to docsy
This commit is contained in:
6
site/themes/docsy/layouts/shortcodes/alert.html
Normal file
6
site/themes/docsy/layouts/shortcodes/alert.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{ $_hugo_config := `{ "version": 1 }` }}
|
||||
{{ $color := .Get "color" | default "primary" }}
|
||||
<div class="alert alert-{{ $color }}" role="alert">
|
||||
{{ with .Get "title" }}<h4 class="alert-heading">{{ . | safeHTML }}</h4>{{ end }}
|
||||
{{ .Inner | markdownify }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user