2019-04-08 23:24:03 +00:00
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
|
|
|
|
|
|
<!-- Main Section Layout
|
|
|
|
|
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
|
|
|
|
<main id="list" role="main">
|
|
|
|
|
<div class="article-header light-gray"><h1>{{ .Title }}</h1></div>
|
|
|
|
|
{{.Content}}
|
|
|
|
|
<br>
|
2019-04-14 15:59:34 +00:00
|
|
|
|
{{ $paginator := .Paginate (where .Data.Pages "Type" "labs") }}
|
|
|
|
|
{{ range $paginator.Pages }}
|
2019-04-08 23:24:03 +00:00
|
|
|
|
<div class="summary">
|
|
|
|
|
<h2><a href="{{ .Permalink }}">{{ .Title }} {{ if .Draft }}:: DRAFT{{end}}</a></h2>
|
|
|
|
|
<div class="meta">
|
2019-04-14 15:59:34 +00:00
|
|
|
|
{{ .Date.Format "Jan 2, 2006" }}
|
|
|
|
|
{{ range .Params.categories }}
|
|
|
|
|
#<a href="/categories/{{ . | urlize }}">{{ . }}</a>
|
|
|
|
|
{{ end }}
|
|
|
|
|
{{ range .Params.tags }}
|
|
|
|
|
#<a href="/tags/{{ . | urlize }}">{{ . }}</a>
|
|
|
|
|
{{ end }}: {{ .Description }}
|
2019-04-08 23:24:03 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{ end }}
|
|
|
|
|
</main>
|
|
|
|
|
|
2019-04-14 15:59:34 +00:00
|
|
|
|
<!-- Paginator Section Layout
|
|
|
|
|
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
|
|
|
|
<nav>
|
|
|
|
|
{{ $paginator := .Paginate (where .Data.Pages "Type" "labs") }}
|
|
|
|
|
{{ if .Paginator.HasPrev }}
|
|
|
|
|
<a href="{{ .Paginator.Prev.URL }}">Prev</a>
|
|
|
|
|
{{ end }}
|
|
|
|
|
<span class="">Page {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}</span>
|
|
|
|
|
{{ if .Paginator.HasNext }}
|
|
|
|
|
<a href="{{ .Paginator.Next.URL }}">Next</a>
|
|
|
|
|
{{ end }}
|
|
|
|
|
</nav>
|
|
|
|
|
|
2019-04-08 23:24:03 +00:00
|
|
|
|
{{ partial "footer.html" . }}
|