summaryrefslogtreecommitdiff
path: root/srv/src/tpl/html/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'srv/src/tpl/html/post.html')
-rw-r--r--srv/src/tpl/html/post.html48
1 files changed, 0 insertions, 48 deletions
diff --git a/srv/src/tpl/html/post.html b/srv/src/tpl/html/post.html
deleted file mode 100644
index 22a5b97..0000000
--- a/srv/src/tpl/html/post.html
+++ /dev/null
@@ -1,48 +0,0 @@
-{{ define "body" }}
-
-<header id="post-header">
- <h1 id="post-headline">
- {{ .Title }}
- </h1>
- <div class="light">
- {{ .PublishedAt.Format "2006-01-02" }}
- &nbsp;•&nbsp;
- {{ if not .LastUpdatedAt.IsZero }}
- (Updated {{ .LastUpdatedAt.Format "2006-01-02" }})
- &nbsp;•&nbsp;
- {{ end }}
- <em>{{ .Description }}</em>
- </div>
-</header>
-
-{{ if (or .SeriesPrevious .SeriesNext) }}
-<p class="light"><em>
- This post is part of a series:<br/>
- {{ if .SeriesPrevious }}
- Previously: <a href="{{ .SeriesPrevious.HTTPPath }}">{{ .SeriesPrevious.Title }}</a></br>
- {{ end }}
- {{ if .SeriesNext }}
- Next: <a href="{{ .SeriesNext.HTTPPath }}">{{ .SeriesNext.Title }}</a></br>
- {{ end }}
-</em></p>
-{{ end }}
-
-<div id="post-content">
- {{ .Body }}
-</div>
-
-{{ if (or .SeriesPrevious .SeriesNext) }}
-<p class="light"><em>
- If you liked this post, consider checking out other posts in the series:<br/>
- {{ if .SeriesPrevious }}
- Previously: <a href="{{ .SeriesPrevious.HTTPPath }}">{{ .SeriesPrevious.Title }}</a></br>
- {{ end }}
- {{ if .SeriesNext }}
- Next: <a href="{{ .SeriesNext.HTTPPath }}">{{ .SeriesNext.Title }}</a></br>
- {{ end }}
-</em></p>
-{{ end }}
-
-{{ end }}
-
-{{ template "base.html" . }}