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:
10
site/themes/docsy/layouts/shortcodes/blocks/feature.html
Normal file
10
site/themes/docsy/layouts/shortcodes/blocks/feature.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{ $icon := .Get "icon" | default "fa-lightbulb" }}
|
||||
{{ $url_text := .Get "url_text" }}
|
||||
<div class="col-lg-4 mb-5 mb-lg-0 text-center ">
|
||||
<div class="mb-4 h1">
|
||||
<i class="{{ if not (or (hasPrefix $icon "fas ") (hasPrefix $icon "fab ")) }}fas {{ end }}{{ $icon }}"></i>
|
||||
</div>
|
||||
<h4 class="h3">{{ .Get "title" | markdownify }}</h4>
|
||||
<p class="mb-0">{{ .Inner }}</p>
|
||||
{{ with .Get "url" }}<p><a href="{{ . }}">{{ with $url_text }}{{ $url_text }}{{ else }}{{ T "ui_read_more" }}{{ end }} …</a></p>{{ end }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user