{{ partial "header-content.html" . }} <!-- Main Section Layout –––––––––––––––––––––––––––––––––––––––––––––––––– --> <main id="single" role="main"> <div class="article-header"> <h1>{{ .Title }}</h1> <div class="meta"> {{ .Date.Format "Jan 2, 2006" }} {{ range .Params.categories }} #<a href="/categories/{{ . | urlize }}">{{ . }}</a> {{ end }} {{ range .Params.tags }} #<a href="/tags/{{ . | urlize }}">{{ . }}</a> {{ end }}: {{ .Description }} </div> </div> <article> {{ .Content }} </main> <nav class="pagination"> {{ if .Next }} <span class="previous">← <a href="{{ .Next.Permalink }}" rel="prev">{{ .Next.Title }}</a></span> {{ end }} {{ if .Prev }} <span class="next"><a href="{{ .Prev.Permalink }}" rel="next">{{ .Prev.Title }}</a> →</span> {{ end }} </nav> {{ partial "footer.html" . }}