hugo

Fork of github.com/gohugoio/hugo with reverse pagination support

git clone git://git.shimmy1996.com/hugo.git

terms.html (1221B)

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