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/base.html | 6 +++-- src/http/tpl/index.html | 59 +++++++++++++++++++++++++++++++------------------ src/http/tpl/posts.html | 35 +++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+), 23 deletions(-) create mode 100644 src/http/tpl/posts.html (limited to 'src/http/tpl') diff --git a/src/http/tpl/base.html b/src/http/tpl/base.html index 350bae3..d2399f4 100644 --- a/src/http/tpl/base.html +++ b/src/http/tpl/base.html @@ -105,11 +105,13 @@ mediocregopher's lil web corner

- Posts + Home +  //  + Posts  /  Follow (RSS) -  /  +  //  License diff --git a/src/http/tpl/index.html b/src/http/tpl/index.html index 9b03531..51805b1 100644 --- a/src/http/tpl/index.html +++ b/src/http/tpl/index.html @@ -1,34 +1,51 @@ {{ define "body" }} - {{ if ge .Payload.PrevPage 0 }}

- < < Previous Page + Hi! I'm Brian, and this here's my little corner of the web. Here I write + posts + about projects I'm working on and things that interest me (which you can + follow, + if you like). Beyond that I've linked to various related links related to me + below.

- {{ else }} -

- Welcome to the Mediocre Blog! Posts are listed in chronological order. If - you aren't sure of where to start I recommend picking at random. -

- {{ end }} +

Social

+ + +

Dev

- {{ if ge .Payload.NextPage 0 }} -

- Next Page > > -

- {{ end }} +

Art

+ + +
+ +

I'm not affiliated with these, but they're worth listing.

+ {{ end }} 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