hugo

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

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

boxes-section-summaries.html (959B)

    1 <div class="relative {{ .classes }} weight-{{ .context.Weight }}">
    2 
    3   <div class="bg-white mb2 pa3 pa4-l gray">
    4     {{ if eq .context.Section "news" }}
    5       <date class="f6 db" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
    6         {{ .context.Date.Format "January 2, 2006" }}
    7       </date>
    8     {{ end }}
    9 
   10     <h1 class="near-black f3">
   11       <a href="{{ .context.RelPermalink }}" class="link primary-color dim">
   12       {{- if eq .context.Section "functions" -}}
   13         {{ .context.LinkTitle }}
   14       {{- else -}}
   15         {{ .context.Title }}
   16       {{- end -}}
   17       </a>
   18     </h1>
   19 
   20     <div class="lh-copy links">
   21       {{ if .context.Params.description  }}
   22           {{ .context.Params.description | markdownify }}
   23         {{ else }}
   24           {{ .context.Summary  }}
   25       {{ end }}
   26 
   27         <a href="{{ .context.RelPermalink }}" class="f6 mt2 db link primary-color dim">
   28           Read More &raquo;
   29         </a>
   30 
   31     </div>
   32 
   33 
   34   </div>
   35 </div>