summaryrefslogtreecommitdiff
path: root/themes/plaintext/layouts/posts/single.html
blob: c4b5e80c39ad7246722d4f106027ab3549da579b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{{ define "main" }}

<article class="article">
    <h1 class="article--heading">* {{ .Title }}</h1>
    <p class="article--metadata">
        Posted: {{.Date.Format "02-03-2006"}} (<a
            href="http://git.claw0ry.net/website/plain/content/posts/{{.File.LogicalName}}">raw</a> / <a
            href="http://git.claw0ry.net/website/log/content/posts/{{.File.LogicalName}}">history</a>)

    </p>

    <hr />

    {{ if .Params.toc }}
    <div class="article--toc">
        <h2>Table of Contents</h2>
        {{ .TableOfContents }}
    </div>

    <hr />
    {{ end }}

    <div class="article--body">{{ .Content }}</div>
</article>

<hr />

{{ with .GitInfo }}
<p class="last-modified"><i>This page was last modified {{ .CommitDate.Format "15:04:05 02-01-2006"}}</i></p>
{{ end }}


{{ end }}