github.com/rabbouni145/gg@v0.47.1/docs/themes/gohugoioTheme/layouts/partials/home-page-sections/features-single.html (about) 1 {{ if .Params.sections }} 2 {{ range .Params.sections }} 3 {{ $.Scratch.Add "i" 1 }}{{ $i := $.Scratch.Get "i" }} 4 5 <section class="w-100 ph4 ph5-ns pv4 pv6-ns mid-gray {{ .color_classes }}"> 6 <div class="flex-ns flex-wrap center mw9"> 7 8 <div class="w-100 w-50-l {{ if modBool $i 2 }}order-1{{ else }}order-0{{ end }}"> 9 <div class="w-90-ns center"> 10 <img src="{{ .image }}" alt="image depicting an example of {{ .heading }}" class="img shadow-5"> 11 </div> 12 </div> 13 14 <div class="w-100 w-50-l"> 15 <div class="w-80-ns center tc"> 16 <h3 class="f1 fw4 black ma0 pt4 lh-title pt0-l">{{ .heading }}</h3> 17 <p class="f3 lh-copy"> 18 {{ .copy }} 19 </p> 20 <p class="f4 lh-copy nested-linksTK"> 21 <a href="{{ .link | absURL }}" class="link black dim"> 22 {{ .cta }} {{ partial "svg/link-ext.svg" (dict "fill" "#333" "size" "14") }} 23 </a> 24 </p> 25 </div> 26 </div> 27 28 </div> 29 </section> 30 31 {{ end }} 32 {{ end }}