diff options
| author | Fuwn <[email protected]> | 2021-07-26 17:19:29 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-07-26 17:19:29 +0000 |
| commit | 5679f12cab072bea3358ba9e04b2046d445d365c (patch) | |
| tree | 6c1e9170e9a001c71aacbe677f9220fe947fde49 | |
| parent | feat(contact): add donation information (diff) | |
| download | space-5679f12cab072bea3358ba9e04b2046d445d365c.tar.xz space-5679f12cab072bea3358ba9e04b2046d445d365c.zip | |
refactor(donate): move donation information to seperate route
| -rw-r--r-- | content/pages/contact.gmi | 8 | ||||
| -rw-r--r-- | content/pages/donate.gmi | 7 | ||||
| -rw-r--r-- | content/templates/default.gmi | 1 | ||||
| -rw-r--r-- | content/templates/error.gmi | 1 | ||||
| -rw-r--r-- | handler.go | 1 |
5 files changed, 10 insertions, 8 deletions
diff --git a/content/pages/contact.gmi b/content/pages/contact.gmi index e8b9282..30d72c8 100644 --- a/content/pages/contact.gmi +++ b/content/pages/contact.gmi @@ -6,11 +6,3 @@ => https://twitter.com/fuwnzy Twitter => https://youtube.com/fuwnzy YouTube => https://matrix.to/#/@fuwn:matrix.org Matrix - -## DONATE - -* Bitcoin: bc1qpcyqn63d8uz8q6msna9789sc5sstvp2rew5dgw -* Monero: 43QPcYCm6BFfufsmN9RrXvM6bcdj3nDZc2stkDbSNpwgf3XQpqrSpadVosB3qtTAyg1T2NUSJ5E2miadhorH53pKF274wUB -* Litecoin: ltc1qqwsg6wx49zjhlpypk0xe7q4kgclml3d8kx4hlz - -or through OpenAlias: fuwn.me diff --git a/content/pages/donate.gmi b/content/pages/donate.gmi new file mode 100644 index 0000000..8c36121 --- /dev/null +++ b/content/pages/donate.gmi @@ -0,0 +1,7 @@ +# DONATE + +* Bitcoin: bc1qpcyqn63d8uz8q6msna9789sc5sstvp2rew5dgw +* Monero: 43QPcYCm6BFfufsmN9RrXvM6bcdj3nDZc2stkDbSNpwgf3XQpqrSpadVosB3qtTAyg1T2NUSJ5E2miadhorH53pKF274wUB +* Litecoin: ltc1qqwsg6wx49zjhlpypk0xe7q4kgclml3d8kx4hlz + +or through OpenAlias: fuwn.me diff --git a/content/templates/default.gmi b/content/templates/default.gmi index 7804d5d..0625602 100644 --- a/content/templates/default.gmi +++ b/content/templates/default.gmi @@ -17,6 +17,7 @@ ______ => /skills Skills => /interests Interests => /contact Contact +=> /donate Donate => /gemini Gemini => /gopher Gopher => /blog Blog diff --git a/content/templates/error.gmi b/content/templates/error.gmi index eb5ce6f..429d796 100644 --- a/content/templates/error.gmi +++ b/content/templates/error.gmi @@ -23,6 +23,7 @@ You can try refreshing the page, if that doesn't change anything, contact Fuwn! => /skills Skills => /interests Interests => /contact Contact +=> /donate Donate => /gemini Gemini => /gopher Gopher => /blog Blog @@ -17,6 +17,7 @@ func routes() { createRoute("/contact", "default.gmi", "pages/contact.gmi") createRoute("/gemini", "default.gmi", "pages/gemini.gmi") createRoute("/gopher", "default.gmi", "pages/gopher.gmi") + createRoute("/donate", "default.gmi", "pages/donate.gmi") // TODO: Iterate over content/pages/blog directory to automate blog routing createBlogRoute("/programming_languages", "pages/blog/programming_languages", "Programming Languages", false, noDateNoShow) |