github.com/rabbouni145/gg@v0.47.1/docs/themes/gohugoioTheme/layouts/news/list.html (about)

     1  {{/* TODO: think about adding these tags back in, but they need to be limited to news
     2  {{ define "header" }}{{ partial "page-header" . }}{{ end }} */}}
     3  {{ define "main" }}
     4  <div class="w-100 ph4 ph5-ns pb5 pb6-ns pt1 pt3-ns ">
     5  
     6    <article class="cf pa3 pa4-m pa4-l nested-copy-line-height nested-img">
     7      <h1 class="primary-color-dark">
     8        {{ .Title }}
     9      </h1>
    10      <div class="nested-copy-line-height">
    11        {{ .Content }}
    12      </div>
    13    </article>
    14  
    15    <!-- TODO: May be a good idea in this case to add monthly archives -->
    16  
    17    <div class="flex flex-wrap">
    18        {{/* [wip] add archive lists
    19        <div class="w-100 w-20-ns dn">
    20          <ul>
    21            <li>
    22              <a href="#">
    23                archive section
    24              </a>
    25            </li>
    26          </ul>
    27        </div> */}}
    28  
    29      {{ $interior_classes := $.Site.Params.flex_box_interior_classes }}
    30      <section class="flex-ns flex-wrap justify-between w-100 w-80-nsTK v-top">
    31        {{ $paginator := .Paginate (.Pages | lang.Merge (where .Sites.First.RegularPages "Section" .Section)) -}}
    32        {{ range $paginator.Pages }}
    33          {{ partial "boxes-section-summaries" (dict "context" . "classes" $interior_classes "fullcontent" false) }}
    34        {{ end }}
    35      </section>
    36    </div>
    37    <div class="nested-list-reset nested-links">
    38      {{/* pagination.html: https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/template_embedded.go#L117 */}}
    39      {{ template "_internal/pagination.html" . }}
    40    </div>
    41  
    42  </div>
    43  {{ end }}