diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-27 10:48:33 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-27 10:48:57 +0100 |
commit | 5fd1e7490305570872d3899f5edda950903c5213 (patch) | |
tree | f0cdc490a0942d720494c0044a64c6397d1ab6a5 /docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/features-single.html | |
parent | fc7de7136acbcf0aef54ae8460c7702bc83709be (diff) | |
parent | 9b0050e9aabe4be65c78ccf292a348f309d50ccd (diff) |
Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs'
```
git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash
```
Closes #11925
Diffstat (limited to 'docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/features-single.html')
-rw-r--r-- | docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/features-single.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/features-single.html b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/features-single.html new file mode 100644 index 000000000..f36b3d674 --- /dev/null +++ b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/features-single.html @@ -0,0 +1,32 @@ +{{ if .Params.sections }} + {{ range .Params.sections }} + {{ $.Scratch.Add "i" 1 }}{{ $i := $.Scratch.Get "i" }} + + <section class="w-100 ph4 ph5-ns pv4 pv6-ns mid-gray {{ .color_classes }}"> + <div class="flex-ns flex-wrap center mw9"> + + <div class="w-100 w-50-l {{ if modBool $i 2 }}order-1{{ else }}order-0{{ end }}"> + <div class="w-90-ns center"> + <img src="{{ .image }}" alt="image depicting an example of {{ .heading }}" class="img shadow-5"> + </div> + </div> + + <div class="w-100 w-50-l"> + <div class="w-80-ns center tc"> + <h3 class="f1 fw4 black ma0 pt4 lh-title pt0-l">{{ .heading }}</h3> + <p class="f3 lh-copy"> + {{ .copy }} + </p> + <p class="f4 lh-copy nested-linksTK"> + <a href="{{ .link | absURL }}" class="link black dim"> + {{ .cta }} {{ partial "svg/link-ext.svg" (dict "fill" "#333" "size" "14") }} + </a> + </p> + </div> + </div> + + </div> + </section> + + {{ end }} +{{ end }} |