github.com/muhammadn/cortex@v1.9.1-0.20220510110439-46bb7000d03d/website/layouts/shortcodes/blocks/feature.html (about) 1 {{ $icon := .Get "icon" | default "fa-lightbulb" }} 2 {{ $url_text := .Get "url_text" }} 3 <div class="col-12 col-sm-6 col-lg-3 mb-5 mb-lg-0 text-center "> 4 <div class="mb-4 h1"> 5 <i class="{{ if not (or (hasPrefix $icon "fas ") (hasPrefix $icon "fab ")) }}fas {{ end }}{{ $icon }}"></i> 6 </div> 7 <h4 class="h3">{{ .Get "title" | markdownify }}</h4> 8 <p class="mb-0">{{ .Inner }}</p> 9 {{ with .Get "url" }}<p><a href="{{ . }}">{{ with $url_text }}{{ $url_text }}{{ else }}{{ T "ui_read_more" }}{{ end }} …</a></p>{{ end }} 10 </div>