diff options
author | claw0ry <me@claw0ry.net> | 2024-12-11 13:56:52 +0100 |
---|---|---|
committer | claw0ry <me@claw0ry.net> | 2024-12-11 13:56:52 +0100 |
commit | 4719cc03837490ed4bf1b9725d75a686e56e5a6a (patch) | |
tree | 769dd3a3a87153df049b3043196bd131495b10ad /themes/plaintext/layouts/posts/single.html |
fresh start
Diffstat (limited to 'themes/plaintext/layouts/posts/single.html')
-rw-r--r-- | themes/plaintext/layouts/posts/single.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/themes/plaintext/layouts/posts/single.html b/themes/plaintext/layouts/posts/single.html new file mode 100644 index 0000000..c4b5e80 --- /dev/null +++ b/themes/plaintext/layouts/posts/single.html @@ -0,0 +1,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 }} |