From d7507d2def1d2f1f84b4bdcff2a521733ded6312 Mon Sep 17 00:00:00 2001
From: Brian Picciano
Date: Thu, 10 Aug 2023 16:56:51 +0200
Subject: Clean up homepage, add ghost to gmi, make separator smaller
---
src/gmi/tpl/footer.gmi | 2 +-
src/gmi/tpl/index.gmi | 18 +++++-------------
src/gmi/tpl/posts/index.gmi | 4 ++--
src/gmi/tpl/posts/post.gmi | 4 ++--
src/http/tpl/index.html | 13 +++----------
5 files changed, 13 insertions(+), 28 deletions(-)
(limited to 'src')
diff --git a/src/gmi/tpl/footer.gmi b/src/gmi/tpl/footer.gmi
index 355bc91..83bb379 100644
--- a/src/gmi/tpl/footer.gmi
+++ b/src/gmi/tpl/footer.gmi
@@ -1,4 +1,4 @@
-================================================================================
+========================================
{{ if ne .GetPath "index.gmi" -}}
=> {{ BlogURL "/" }} Home
diff --git a/src/gmi/tpl/index.gmi b/src/gmi/tpl/index.gmi
index 9cd0ce9..126acb7 100644
--- a/src/gmi/tpl/index.gmi
+++ b/src/gmi/tpl/index.gmi
@@ -1,4 +1,4 @@
-# mediocregopher's lil web corner
+# 👻 mediocregopher's lil web corner
This here's my little corner of the web, where I publish posts about projects I'm working on and things that interest me (which you can follow, if you like).
@@ -17,11 +17,7 @@ Below you'll find other information and links related to me.
## Social
-Feel free to hmu on any of these if you'd like to get in touch.
-
-* Matrix: @mediocregopher:waffle.farm
-
-* Mastodon: @mediocregopher@social.cryptic.io
+Feel free to hmu over email if you'd like to get in touch.
* Email: me@mediocregopher.com
@@ -33,22 +29,18 @@ Feel free to hmu on any of these if you'd like to get in touch.
=> gemini://godocs.io/github.com/mediocregopher/radix/v4 radix is for using redis with go.
-=> https://code.betamike.com/cryptic-io/cryptic-net cryptic-net implements the foundation of a community infrastucture.
+=> https://code.betamike.com/micropelago micropelago implements the foundation of a community infrastucture.
=> https://code.betamike.com/mediocregopher/mediocre-blog mediocre-blog is the CMS I designed from scratch to run this site.
-## Art
-
-=> https://opensea.io/mediocregopher?tab=created OpenSea lists some NFTs I've made.
-
-=> https://exchange.art/artists/mediocregopher/series Exchange.art lists others.
-
## Other
=> https://bgpicciano.com/ bgpicciano.com is my cover site/resume.
=> https://news.cryptic.io/ Cryptic News aggregates interesting blogs.
+=> https://opensea.io/mediocregopher?tab=created OpenSea lists some NFTs I've made.
+
I'm not affiliated with these, but they're worth listing.
=> https://search.marginalia.nu/ Marginalia reminds me of the old internet.
diff --git a/src/gmi/tpl/posts/index.gmi b/src/gmi/tpl/posts/index.gmi
index cf83052..2ff296a 100644
--- a/src/gmi/tpl/posts/index.gmi
+++ b/src/gmi/tpl/posts/index.gmi
@@ -1,4 +1,4 @@
-# mediocregopher's Posts
+# 👻 mediocregopher's Posts
{{ $page := .GetQueryIntValue "page" 0 -}}
@@ -22,7 +22,7 @@ Here you'll find an archive of all published posts. The content varies almost as
{{ if $getPostsRes.HasMore -}}
=> {{ BlogURL "posts" }}/?page={{ .Add $page 1 }} Next page
{{ end }}
-================================================================================
+========================================
=> {{ BlogURL "feed.xml" }} RSS feed
diff --git a/src/gmi/tpl/posts/post.gmi b/src/gmi/tpl/posts/post.gmi
index 99cfd86..0234395 100644
--- a/src/gmi/tpl/posts/post.gmi
+++ b/src/gmi/tpl/posts/post.gmi
@@ -7,7 +7,7 @@ This post has been translated from it's original markdown format, if it seems bu
{{ end -}}
-# {{ $post.Title }}
+# 👻 {{ $post.Title }}
{{ if ne $post.Description "" -}}
> {{ $post.Description }}
@@ -16,7 +16,7 @@ This post has been translated from it's original markdown format, if it seems bu
{{ .PostBody $post }}
-================================================================================
+========================================
Published {{ $post.PublishedAt.Format "2006-01-02" }} by mediocregopher
diff --git a/src/http/tpl/index.html b/src/http/tpl/index.html
index 0e5b58e..8431fa7 100644
--- a/src/http/tpl/index.html
+++ b/src/http/tpl/index.html
@@ -9,10 +9,8 @@
Social
- Feel free to hmu on any of these if you'd like to get in touch.
+ Feel free to hmu over email if you'd like to get in touch.
@@ -25,20 +23,15 @@
are for open-source code I've written.
radix is for using redis with go.
- cryptic-net implements the foundation of a community infrastucture.
+ micropelago implements the foundation of a community infrastucture.
mediocre-blog is the CMS I designed from scratch to run this site.
- Art
-
-
Other
--
cgit v1.2.3