kollektivfonden.dk/themes/black-and-light/layouts/_default/single.html

29 lines
760 B
HTML

{{ partial "header.html" . }}
<section id=content>
<h1>{{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Title }} {{ end }}</h1>
{{ if .Params.date }}
<div id=sub-header>
{{ .Date.Format (.Site.Params.dateform | default "January 2006") }} · {{ .ReadingTime }} minute read
</div>
{{ end }}
<div class="entry-content">
{{ .Content }}
</div>
<div id=links>
{{ if .PrevInSection }}
<a class="basic-alignment left" href="{{.PrevInSection.Permalink}}">&laquo; {{.PrevInSection.Title}}</a>
{{ end }}
{{ if .NextInSection }}
<a class="basic-alignment left" href="{{.NextInSection.Permalink}}">{{.NextInSection.Title}} &raquo;</a>
{{ end }}
</div>
</section>
{{ partial "footer.html" . }}