summaryrefslogtreecommitdiff
path: root/srv/src/http/tpl/post.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-09-13 12:56:08 +0200
committerBrian Picciano <mediocregopher@gmail.com>2022-09-13 12:56:08 +0200
commit4f01edb9230f58ff84b0dd892c931ec8ac9aad55 (patch)
tree9c1598a3f98203913ac2548883c02a81deb33dc7 /srv/src/http/tpl/post.html
parent5485984e05aebde22819adebfbd5ad51475a6c21 (diff)
move src out of srv, clean up default.nix and Makefile
Diffstat (limited to 'srv/src/http/tpl/post.html')
-rw-r--r--srv/src/http/tpl/post.html44
1 files changed, 0 insertions, 44 deletions
diff --git a/srv/src/http/tpl/post.html b/srv/src/http/tpl/post.html
deleted file mode 100644
index 23500eb..0000000
--- a/srv/src/http/tpl/post.html
+++ /dev/null
@@ -1,44 +0,0 @@
-{{ define "body" }}
-
-<h1 id="post-headline">
- {{ .Payload.Title }}
-</h1>
-
-<p>
- <em>- {{ .Payload.Description }}</em>
-</p>
-
-<hr/>
-
-{{ .Payload.Body }}
-
-<p><em>
- Published {{ DateTimeFormat .Payload.PublishedAt }}
- {{ if not .Payload.LastUpdatedAt.IsZero }}
- <br/>Last updated {{ DateTimeFormat .Payload.LastUpdatedAt }}
- {{ end }}
-</em></p>
-
-{{ if (or .Payload.SeriesPrevious .Payload.SeriesNext) }}
-<hr/>
-<p><em>
- This post is part of a series.<br/>
-
- {{ if .Payload.SeriesPrevious }}
- Previously: <a href="{{ PostURL .Payload.SeriesPrevious.ID }}">{{ .Payload.SeriesPrevious.Title }}</a>
- {{ end }}
-
- {{ if (and .Payload.SeriesNext .Payload.SeriesPrevious) }}
- </br>
- {{ end }}
-
- {{ if .Payload.SeriesNext }}
- Next: <a href="{{ PostURL .Payload.SeriesNext.ID }}">{{ .Payload.SeriesNext.Title }}</a></br>
- {{ end }}
-
-</em></p>
-{{ end }}
-
-{{ end }}
-
-{{ template "base.html" . }}