cf83cf1925
of pages (if available) ; add 'back to top' link to footer ; add shortcodes for change log ; add shortcode for back to top to be used with headings
25 lines
749 B
HTML
25 lines
749 B
HTML
{{ partial "header.html" . }}
|
|
<div class="article-meta">
|
|
<h1><span class="title">{{ .Title | markdownify }}</span></h1>
|
|
{{ with .Params.author }}<h2 class="author">By: {{ . }}</h2>{{ end }}
|
|
{{ if (gt .Date 0) }}<h4 class="date">Published: {{ .Date.Format "2006/01/02" }}</h4>{{ end }}
|
|
{{ if (gt .Lastmod 0) }}<h4 class="date">Last Modified: {{ .Lastmod.Format "2006/01/02" }}</h4>{{ end }}
|
|
<p class="terms">
|
|
{{ range $i := (slice "categories" "tags") }}
|
|
{{ with ($.Param $i) }}
|
|
{{ $i | title }}: {{ range $k := . }}<a href="{{ relURL (print "/" $i "/" $k | urlize) }}">{{$k}}</a> {{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</p>
|
|
</div>
|
|
|
|
{{ if .Params.toc }}
|
|
{{ .TableOfContents }}
|
|
{{ end }}
|
|
|
|
<main>
|
|
{{ .Content }}
|
|
</main>
|
|
|
|
{{ partial "footer.html" . }}
|