From 28fb79e4c66093c94e16c64c5e828a3ddcde5a81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Duje=20Mihanovi=C4=87?= Date: Sun, 3 Sep 2023 20:01:04 +0200 Subject: [PATCH] Small site revamp * Move Monero donation out of footer into separate page * Move contact.md into its own subdirectory * Drop RSS icon --- assets/css/style.css | 2 +- content/{contact.md => contact/index.md} | 0 {assets/img => content/donate}/donate.png | Bin content/donate/index.md | 13 +++++++++++++ layouts/_default/baseof.html | 17 ++--------------- layouts/partials/nav.html | 1 + 6 files changed, 17 insertions(+), 16 deletions(-) rename content/{contact.md => contact/index.md} (100%) rename {assets/img => content/donate}/donate.png (100%) create mode 100644 content/donate/index.md diff --git a/assets/css/style.css b/assets/css/style.css index 1dbabd0..12416d5 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -42,6 +42,6 @@ main { text-align: justify; } -footer { +code { overflow-wrap: anywhere; } diff --git a/content/contact.md b/content/contact/index.md similarity index 100% rename from content/contact.md rename to content/contact/index.md diff --git a/assets/img/donate.png b/content/donate/donate.png similarity index 100% rename from assets/img/donate.png rename to content/donate/donate.png diff --git a/content/donate/index.md b/content/donate/index.md new file mode 100644 index 0000000..6914345 --- /dev/null +++ b/content/donate/index.md @@ -0,0 +1,13 @@ +--- +title: "Donate" +date: 2023-09-03T19:49:41+02:00 +draft: true +--- +If you wish to support me, I accept XMR donations to the following wallet: + +`85qXBHh99bJ62p7s8upmoqYsvHrJvZWLTD7riHFo3E2jRvdQRoiNuXKRaDMAQiJ34Kfix3KHouNCW6bbD4zniWB5QxZR9Xx` + +Alternatively, you can use OpenAlias (domain name only) or the following QR +code: + +![Monero QR code](./donate.png) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b92c389..7d840db 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{ partial "meta.html" . }} {{ $style := resources.Get "css/style.css" | resources.Minify }} - + {{ $index := $.Site.GetPage "/" }} {{ range $index.AlternativeOutputFormats }} {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} @@ -16,23 +16,10 @@ {{ block "main" . }} {{ end }} -
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 35b6ec9..cf8baab 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -3,5 +3,6 @@
  • Home
  • Blog
  • Contact
  • +
  • Donate
  • -- 2.39.5