diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-20 11:17:31 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-20 11:17:31 -0600 |
commit | 09acb111a2b22f5794541fac175b024dd0f9100e (patch) | |
tree | 11d4578a42ad4aea968b42a2689f64c799f9176e /srv/src/api/tpl/post.html | |
parent | f69ed83de73bbfc4b7af0931de6ced8cf12dea61 (diff) |
Rename api package to http
Diffstat (limited to 'srv/src/api/tpl/post.html')
-rw-r--r-- | srv/src/api/tpl/post.html | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/srv/src/api/tpl/post.html b/srv/src/api/tpl/post.html deleted file mode 100644 index 474d7c2..0000000 --- a/srv/src/api/tpl/post.html +++ /dev/null @@ -1,48 +0,0 @@ -{{ define "body" }} - -<header id="post-header"> - <h1 id="post-headline"> - {{ .Payload.Title }} - </h1> - <div class="light"> - {{ DateTimeFormat .Payload.PublishedAt }} - • - {{ if not .Payload.LastUpdatedAt.IsZero }} - (Updated {{ DateTimeFormat .Payload.LastUpdatedAt }}) - • - {{ end }} - <em>{{ .Payload.Description }}</em> - </div> -</header> - -{{ if (or .Payload.SeriesPrevious .Payload.SeriesNext) }} -<p class="light"><em> - This post is part of a series:<br/> - {{ if .Payload.SeriesPrevious }} - Previously: <a href="{{ PostURL .Payload.SeriesPrevious.ID }}">{{ .Payload.SeriesPrevious.Title }}</a></br> - {{ end }} - {{ if .Payload.SeriesNext }} - Next: <a href="{{ PostURL .Payload.SeriesNext.ID }}">{{ .Payload.SeriesNext.Title }}</a></br> - {{ end }} -</em></p> -{{ end }} - -<div id="post-content"> - {{ .Payload.Body }} -</div> - -{{ if (or .Payload.SeriesPrevious .Payload.SeriesNext) }} -<p class="light"><em> - If you liked this post, consider checking out other posts in the series:<br/> - {{ if .Payload.SeriesPrevious }} - Previously: <a href="{{ PostURL .Payload.SeriesPrevious.ID }}">{{ .Payload.SeriesPrevious.Title }}</a></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" . }} |