Files
kubernetes-operator/website/layouts/shortcodes/blocks/feature.html
T
Sig00rd e88d63fdf7 Docs: minor fixes (#632)
* Fix descriptions of major releases

* Update meta links 'create documentation issue' link to use new docs issue template

* Update meta links 'create project issue' link to open issue template list instead of blank issue from meta links

* Fix typo in markdown in docs issue template

* Add Jenkins Discourse section in index, revisit index and about pages

* Fix favicon not showing by generating more favicon sizes with icongen
2021-08-18 17:53:19 +02:00

11 lines
534 B
HTML

{{ $icon := .Get "icon" | default "fa-lightbulb" }}
{{ $url_text := .Get "url_text" }}
<div class="col-lg-3 mb-5 mb-lg-3 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>