hugo

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

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

pagelayout.html (1127B)

    1 {{ $section_to_display := .section_to_display  }}
    2   <div class="w-100 ph4 pb5 pb6-ns pt1 mt4 pt3-ns">
    3 
    4   <div class="flex">
    5     <div class="dn db-l w-20">
    6         {{ partial "nav-links-docs.html" .context }}
    7     </div>
    8 
    9     <div class="w-100 w-80-l ph0 ph4-l">
   10       <article class="w-100 nested-copy-line-height nested-links nested-img">
   11         <h1 class="primary-color-dark f2">
   12           {{ with $.context.Data.Singular }}{{ . | humanize }}: {{ end }}{{ .context.Title }}
   13         </h1>
   14         <div class="{{ .Site.Params.copyClass }} mid-gray f5 f4-l">
   15           {{ .context.Content }}
   16         </div>
   17       </article>
   18 
   19       <!-- TODO: May be a good idea in this case to add monthly archives -->
   20 
   21       <div class="flex flex-wrap">
   22         {{ $interior_classes := .context.Site.Params.flex_box_interior_classes }}
   23         <section class="flex-ns flex-wrap justify-between w-100">
   24           {{ range $section_to_display }}
   25             {{ partial "boxes-section-summaries" (dict "context" . "classes" $interior_classes "fullcontent" true) }}
   26           {{ end }}
   27         </section>
   28       </div>
   29 
   30     </div>
   31 
   32   </div>
   33 
   34 </div>