github.com/rabbouni145/gg@v0.47.1/docs/themes/gohugoioTheme/layouts/_default/terms.html (about) 1 {{/* {{ define "header" }}{{ partial "page-header" . }}{{ end }} */}} 2 {{ define "main" }} 3 {{ $section_to_display := .Pages }} 4 <div class="w-100 ph4 pb5 pb6-ns pt1 pt3-ns"> 5 6 <div class="flex"> 7 <div class="dn db-l w-20"> 8 {{ partial "nav-links-docs.html" . }} 9 </div> 10 11 <div class="w-100 w-80-l ph0 ph4-l"> 12 <article class="w-100 nested-copy-line-height nested-links nested-img"> 13 <h1 class="primary-color-dark f2"> 14 {{ .Title }} 15 </h1> 16 </article> 17 <div class="pa3 pa4-ns w-100 v-top column-count-3-l column-gap-1-l"> 18 {{ range $key, $value := .Data.Terms }} 19 <div class="break-inside-avoid-l nested-copy-line-height mb5"> 20 <h2 class="f3"> 21 <a href="{{ "/" | relLangURL }}{{ $.Data.Plural | urlize }}/{{ $key | urlize }}" class="link black hover-blue"> 22 {{ $key }} <span class="f6 gray"> ↗</span> 23 </a> 24 </h2> 25 {{ range $value.Pages }} 26 <h3> 27 <a href="{{ .Permalink }}" class="link blue"> 28 {{ .Title }} 29 </a> 30 </h3> 31 {{ end }} 32 </div> 33 34 {{ end }} 35 36 </div> 37 38 39 40 41 </div> 42 43 </div> 44 45 46 47 48 </div> 49 {{ end }}