From: Duje Mihanović Date: Sun, 3 Sep 2023 18:01:04 +0000 (+0200) Subject: Small site revamp X-Git-Url: https://git.dujemihanovic.xyz/?a=commitdiff_plain;h=28fb79e4c66093c94e16c64c5e828a3ddcde5a81;p=dujemihanovic.xyz.git Small site revamp * Move Monero donation out of footer into separate page * Move contact.md into its own subdirectory * Drop RSS icon --- 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