aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-08-24 05:21:48 +0000
committerFuwn <[email protected]>2021-08-24 05:21:48 +0000
commit38349a3c68ecfc8ec7b948d7cfa933edba4dd805 (patch)
treecf257d2823dc2b53f7b7e221d7731a0138620210
parentfeat(handler): redirect /x/* requests to /proxy (diff)
parentchore(index): minor wording changes (diff)
downloadspace-38349a3c68ecfc8ec7b948d7cfa933edba4dd805.tar.xz
space-38349a3c68ecfc8ec7b948d7cfa933edba4dd805.zip
Merge branch 'main' of https://github.com/fuwn/space
-rw-r--r--Dockerfile2
-rw-r--r--content/favicon.icobin0 -> 4286 bytes
-rw-r--r--content/pages/contact.gmi6
-rw-r--r--content/pages/index.gmi4
-rw-r--r--content/robots.txt2
-rw-r--r--content/templates/default.gmi14
-rw-r--r--content/templates/error.gmi14
-rw-r--r--handler.go2
8 files changed, 29 insertions, 15 deletions
diff --git a/Dockerfile b/Dockerfile
index 6755db2..af4fb80 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.16.6-alpine3.14 AS build_base
+FROM golang:1.16.7-alpine3.14 AS build_base
RUN apk add --no-cache git
diff --git a/content/favicon.ico b/content/favicon.ico
new file mode 100644
index 0000000..c748f98
--- /dev/null
+++ b/content/favicon.ico
Binary files differ
diff --git a/content/pages/contact.gmi b/content/pages/contact.gmi
index 30d72c8..fbe5377 100644
--- a/content/pages/contact.gmi
+++ b/content/pages/contact.gmi
@@ -6,3 +6,9 @@
=> https://twitter.com/fuwnzy Twitter
=> https://youtube.com/fuwnzy YouTube
=> https://matrix.to/#/@fuwn:matrix.org Matrix
+
+## Email
+
+=> mailto:[email protected] [email protected] (I check this...)
+=> mailto:[email protected] [email protected] (...and this more frequently!)
diff --git a/content/pages/index.gmi b/content/pages/index.gmi
index f788bcf..f7c65b8 100644
--- a/content/pages/index.gmi
+++ b/content/pages/index.gmi
@@ -1,10 +1,10 @@
# FUWN.SPACE
-Welcome to my Gemini capsule!
+Ditch the web, use Gemini!
## PROJECT GEMINI
-What is Gemini? I think DT from DistroTube explains it well:
+What is Gemini? If you want it quick and simple, DT from DistroTube explains it well:
=> gemini://distro.tube distro.tube
=> https://distrotube.com distrotube.com
diff --git a/content/robots.txt b/content/robots.txt
new file mode 100644
index 0000000..d4c2cca
--- /dev/null
+++ b/content/robots.txt
@@ -0,0 +1,2 @@
+User-agent: *
+Disallow: /x
diff --git a/content/templates/default.gmi b/content/templates/default.gmi
index 0625602..76870db 100644
--- a/content/templates/default.gmi
+++ b/content/templates/default.gmi
@@ -1,12 +1,12 @@
```
-______
-| ___|
-| |_ _ ___ ___ __ ___ _ __ __ _ ___ ___
+______
+| ___|
+| |_ _ ___ ___ __ ___ _ __ __ _ ___ ___
| _| | | \ \ /\ / / '_ \ / __| '_ \ / _` |/ __/ _ \
| | | |_| |\ V V /| | | |_\__ \ |_) | (_| | (_| __/
\_| \__,_| \_/\_/ |_| |_(_)___/ .__/ \__,_|\___\___|
- | |
- |_|
+ | |
+ |_|
```
{{ .Content }}
@@ -28,8 +28,10 @@ ______
{{ if .HitsEnabled }}
Hits: {{ .Hits }}
{{ end }}
-> Any and all opinions listed here are my own and not representitive of my employers; past, present, and future.
+> Any and all opinions listed here are my own and not representative of my employers; past, present, and future.
=> https://github.com/fuwn/space Source Code
+=> http://fuwnme4wbs5x36jjf2usedw2zscozwhazykhyfkjsmudtb7egs3mb7yd.onion Tor
+=> http://fuwn.i2p/?i2paddresshelper=farkjfnlz6grt55rupbabuhfkvhi7pivwdfwztgcxdklh3db3mfq.b32.i2p I2P
{{ .Copyright }}
diff --git a/content/templates/error.gmi b/content/templates/error.gmi
index 429d796..8f674cc 100644
--- a/content/templates/error.gmi
+++ b/content/templates/error.gmi
@@ -1,12 +1,12 @@
```
-______
-| ___|
-| |_ _ ___ ___ __ ___ _ __ __ _ ___ ___
+______
+| ___|
+| |_ _ ___ ___ __ ___ _ __ __ _ ___ ___
| _| | | \ \ /\ / / '_ \ / __| '_ \ / _` |/ __/ _ \
| | | |_| |\ V V /| | | |_\__ \ |_) | (_| | (_| __/
\_| \__,_| \_/\_/ |_| |_(_)___/ .__/ \__,_|\___\___|
- | |
- |_|
+ | |
+ |_|
```
# ERROR {{ .Error }}
@@ -34,8 +34,10 @@ You can try refreshing the page, if that doesn't change anything, contact Fuwn!
{{ if .HitsEnabled }}
Hits: {{ .Hits }}
{{ end }}
-> Any and all opinions listed here are my own and not representitive of my employers; past, present, and future.
+> Any and all opinions listed here are my own and not representative of my employers; past, present, and future.
=> https://github.com/fuwn/space Source Code
+=> http://fuwnme4wbs5x36jjf2usedw2zscozwhazykhyfkjsmudtb7egs3mb7yd.onion Tor
+=> http://fuwn.i2p/?i2paddresshelper=farkjfnlz6grt55rupbabuhfkvhi7pivwdfwztgcxdklh3db3mfq.b32.i2p I2P
{{ .Copyright }}
diff --git a/handler.go b/handler.go
index 2975b0f..99a7a2f 100644
--- a/handler.go
+++ b/handler.go
@@ -31,6 +31,8 @@ func errors() {
func meta() {
createFileRoute("/favicon.txt", "favicon.txt")
+ createFileRoute("/favicon.ico", "favicon.ico")
+ createFileRoute("/robots.txt", "robots.txt")
}
func redirect() {