From 7943865cc66b80eb54e06ec304bccef0d3a44151 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 29 Nov 2022 21:32:41 +0100 Subject: Move mediocregopher.com content to index of this site --- src/http/tpl/posts.html | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/http/tpl/posts.html (limited to 'src/http/tpl/posts.html') diff --git a/src/http/tpl/posts.html b/src/http/tpl/posts.html new file mode 100644 index 0000000..ef94ffb --- /dev/null +++ b/src/http/tpl/posts.html @@ -0,0 +1,35 @@ +{{ define "body" }} + + {{ if ge .Payload.PrevPage 0 }} +

+ < < Previous Page +

+ {{ else }} +

+ Posts are listed in chronological order. If you aren't sure of where to + start I recommend picking at random. +

+ {{ end }} + + + + {{ if ge .Payload.NextPage 0 }} +

+ Next Page > > +

+ {{ end }} + +{{ end }} + +{{ template "base.html" . }} -- cgit v1.2.3