From 6f9ac9c5b871b84703ba832cb1d475b16d9a68a7 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Fri, 6 Oct 2023 20:10:52 +0200 Subject: [PATCH] Site update --- content/blog/miniflux-setup.md | 1 + content/blog/piped-video-not-loading.md | 1 + content/blog/setup-dns-pihole-unbound.md | 1 + hugo.toml | 3 + layouts/_default/list.html | 3 +- layouts/_default/single.html | 6 +- layouts/partials/tags.html | 9 ++ layouts/taxonomy/list.html | 13 +++ layouts/taxonomy/tag.html | 11 +++ public/blog/index.html | 9 +- public/blog/miniflux-setup/index.html | 12 ++- .../blog/piped-video-not-loading/index.html | 12 ++- .../blog/setup-dns-pihole-unbound/index.html | 14 ++- public/css/style.css | 13 +++ public/sitemap.xml | 26 +++++- public/tags/browser/index.html | 85 ++++++++++++++++++ public/tags/dns/index.html | 85 ++++++++++++++++++ public/tags/index.html | 21 +++++ public/tags/pi-hole/index.html | 85 ++++++++++++++++++ public/tags/piped/index.html | 85 ++++++++++++++++++ public/tags/rss/index.html | 85 ++++++++++++++++++ public/tags/self-host/index.html | 88 +++++++++++++++++++ public/tags/unbound/index.html | 85 ++++++++++++++++++ static/css/style.css | 13 +++ 24 files changed, 748 insertions(+), 18 deletions(-) create mode 100644 layouts/partials/tags.html create mode 100644 layouts/taxonomy/list.html create mode 100644 layouts/taxonomy/tag.html create mode 100644 public/tags/browser/index.html create mode 100644 public/tags/dns/index.html create mode 100644 public/tags/pi-hole/index.html create mode 100644 public/tags/piped/index.html create mode 100644 public/tags/rss/index.html create mode 100644 public/tags/self-host/index.html create mode 100644 public/tags/unbound/index.html diff --git a/content/blog/miniflux-setup.md b/content/blog/miniflux-setup.md index 2bf9479..08af233 100644 --- a/content/blog/miniflux-setup.md +++ b/content/blog/miniflux-setup.md @@ -1,6 +1,7 @@ +++ title = "miniflux setup on debian" date = 2022-11-30 +tags = ['Self-host', 'rss'] +++ Looking for a minimal self-hosted feed reader I found [miniflux](https://miniflux.app/). But trying to set it up I found my self trying to set it up for 3 freaking hours since I only recently started to self-host things. So here I will try to explaing it in the most easy way how to set it up on a debian server with https using certbot and nginx. diff --git a/content/blog/piped-video-not-loading.md b/content/blog/piped-video-not-loading.md index 087684c..7149a7d 100644 --- a/content/blog/piped-video-not-loading.md +++ b/content/blog/piped-video-not-loading.md @@ -1,6 +1,7 @@ +++ title = "Piped videos not loading" date = 2023-02-26 +tags = ['piped', 'browser'] +++ Recently I have received and experienced an issue of videos not loading on my personal [piped](https://piped.cronyakatsuki.xyz) instance and on the official instance. But I have found a fix and a way to watch the videos even without the fix. diff --git a/content/blog/setup-dns-pihole-unbound.md b/content/blog/setup-dns-pihole-unbound.md index e963fbe..f2119c0 100644 --- a/content/blog/setup-dns-pihole-unbound.md +++ b/content/blog/setup-dns-pihole-unbound.md @@ -1,6 +1,7 @@ +++ title = "Setup dns with adblock and dot/doh with pi-hole and unbound" date = 2023-09-27 +tags = ['self-host', 'dns', 'pi-hole', 'unbound'] +++ Just another day I seted up my own private dns server that has adblocking ( and other stuff ) using pihole and uses unbound as a resolver. To safelly connect to the dns server I'm using DNS over HTTPS for my browser's and HTTPS over TLS for stuffy for my whole desktop and private dns in android ( Android has DoH support but only for google and cloudflare right now). Let's get on to setting everything up diff --git a/hugo.toml b/hugo.toml index bdbdd5d..558565d 100644 --- a/hugo.toml +++ b/hugo.toml @@ -17,3 +17,6 @@ enableEmoji = true description = "My shitty website" title = "Crony Akatsuki's Website" dateFormat = "02-01-2006" + +[taxonimies] + tags = 'tags' diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6bcf073..31b5805 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -7,8 +7,7 @@
{{ range .Pages.ByPublishDate.Reverse }} - {{ .Date.Format .Site.Params.dateFormat }} || {{ .Title }} -
+ {{ .Date.Format .Site.Params.dateFormat }} || {{ .Title }}
{{ end }}
{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index da1ab96..4d66856 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,8 +4,10 @@ {{ if isset .Params "date" }} -
-

{{ .Date.Format .Site.Params.dateFormat }}

+
+

{{ .Date.Format .Site.Params.dateFormat }}

+ {{ partial "tags.html" . }} +
{{ end }} {{ .Content }} {{ end }} diff --git a/layouts/partials/tags.html b/layouts/partials/tags.html new file mode 100644 index 0000000..c397f21 --- /dev/null +++ b/layouts/partials/tags.html @@ -0,0 +1,9 @@ +{{ $taxonomy := "tags" }} {{ with .Param $taxonomy }} +

+ {{ range $index, $tag := . }} {{ with $.Site.GetPage (printf "/%s/%s" + $taxonomy $tag) -}} + | + {{ $tag | urlize }} + {{- end -}} {{- end -}} +

+{{ end }} diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html new file mode 100644 index 0000000..9f30f78 --- /dev/null +++ b/layouts/taxonomy/list.html @@ -0,0 +1,13 @@ +{{ define "main" }} + +

{{ .Title }}

+ +{{ .Content}} + +
+ {{ range .Pages.ByPublishDate.Reverse }} + + {{ .Title }}
+ {{ end }} +
+{{ end }} diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html new file mode 100644 index 0000000..67672d6 --- /dev/null +++ b/layouts/taxonomy/tag.html @@ -0,0 +1,11 @@ +{{ define "main" }} + +

Tag: {{ .Title }}

+ +
+ {{ range .Pages.ByPublishDate.Reverse }} + + {{ .Date.Format .Site.Params.dateFormat }} || {{ .Title }}
+ {{ end }} +
+{{ end }} diff --git a/public/blog/index.html b/public/blog/index.html index 870cdd7..d3cae27 100644 --- a/public/blog/index.html +++ b/public/blog/index.html @@ -40,16 +40,13 @@
- 27-09-2023 || Setup dns with adblock and dot/doh with pi-hole and unbound -
+ 27-09-2023 || Setup dns with adblock and dot/doh with pi-hole and unbound
- 26-02-2023 || Piped videos not loading -
+ 26-02-2023 || Piped videos not loading
- 30-11-2022 || miniflux setup on debian -
+ 30-11-2022 || miniflux setup on debian
diff --git a/public/blog/miniflux-setup/index.html b/public/blog/miniflux-setup/index.html index ec16164..d31d23f 100644 --- a/public/blog/miniflux-setup/index.html +++ b/public/blog/miniflux-setup/index.html @@ -39,8 +39,16 @@ For this tutorial I expect that you already have a server seted up with nginx an -
-

30-11-2022

+
+

30-11-2022

+ +

+ | + self-host | + rss

+ + +

Looking for a minimal self-hosted feed reader I found miniflux. But trying to set it up I found my self trying to set it up for 3 freaking hours since I only recently started to self-host things. So here I will try to explaing it in the most easy way how to set it up on a debian server with https using certbot and nginx.

diff --git a/public/blog/piped-video-not-loading/index.html b/public/blog/piped-video-not-loading/index.html index 559e94c..b6ab872 100644 --- a/public/blog/piped-video-not-loading/index.html +++ b/public/blog/piped-video-not-loading/index.html @@ -39,8 +39,16 @@ What creates the issue? From what I have been able to find on the issues over on -
-

26-02-2023

+
+

26-02-2023

+ +

+ | + piped | + browser

+ + +

Recently I have received and experienced an issue of videos not loading on my personal piped instance and on the official instance. But I have found a fix and a way to watch the videos even without the fix.

diff --git a/public/blog/setup-dns-pihole-unbound/index.html b/public/blog/setup-dns-pihole-unbound/index.html index b68ccf6..a4bade0 100644 --- a/public/blog/setup-dns-pihole-unbound/index.html +++ b/public/blog/setup-dns-pihole-unbound/index.html @@ -38,8 +38,18 @@ -
-

27-09-2023

+
+

27-09-2023

+ +

+ | + self-host | + dns | + pi-hole | + unbound

+ + +

Just another day I seted up my own private dns server that has adblocking ( and other stuff ) using pihole and uses unbound as a resolver. To safelly connect to the dns server I’m using DNS over HTTPS for my browser’s and HTTPS over TLS for stuffy for my whole desktop and private dns in android ( Android has DoH support but only for google and cloudflare right now). Let’s get on to setting everything up

diff --git a/public/css/style.css b/public/css/style.css index 4ed538a..b3255f2 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -91,3 +91,16 @@ blockquote { flex-wrap: wrap; justify-content: center; } + +hr { + color: #51576d; +} + +#blog-meta p{ + display: inline; +} + +#blog-meta #date{ + padding-left: 10px; + color: #a5adce; +} diff --git a/public/sitemap.xml b/public/sitemap.xml index e8f17c7..8ce255c 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -7,21 +7,43 @@ https://cronyakatsuki.xyz/ 2023-09-27T00:00:00+00:00 + + https://cronyakatsuki.xyz/tags/dns/ + 2023-09-27T00:00:00+00:00 + + https://cronyakatsuki.xyz/tags/pi-hole/ + 2023-09-27T00:00:00+00:00 + + https://cronyakatsuki.xyz/tags/self-host/ + 2023-09-27T00:00:00+00:00 https://cronyakatsuki.xyz/blog/setup-dns-pihole-unbound/ 2023-09-27T00:00:00+00:00 + + https://cronyakatsuki.xyz/tags/ + 2023-09-27T00:00:00+00:00 + + https://cronyakatsuki.xyz/tags/unbound/ + 2023-09-27T00:00:00+00:00 + + https://cronyakatsuki.xyz/tags/browser/ + 2023-02-26T00:00:00+00:00 + + https://cronyakatsuki.xyz/tags/piped/ + 2023-02-26T00:00:00+00:00 https://cronyakatsuki.xyz/blog/piped-video-not-loading/ 2023-02-26T00:00:00+00:00 https://cronyakatsuki.xyz/blog/miniflux-setup/ 2022-11-30T00:00:00+00:00 + + https://cronyakatsuki.xyz/tags/rss/ + 2022-11-30T00:00:00+00:00 https://cronyakatsuki.xyz/categories/ https://cronyakatsuki.xyz/services/ - - https://cronyakatsuki.xyz/tags/ https://cronyakatsuki.xyz/about/ diff --git a/public/tags/browser/index.html b/public/tags/browser/index.html new file mode 100644 index 0000000..dd522ac --- /dev/null +++ b/public/tags/browser/index.html @@ -0,0 +1,85 @@ + + + + + + + + +browser + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+
+ +

Tag: browser

+ +
+ + + 26-02-2023 || Piped videos not loading
+ +
+
+
+ + + + + diff --git a/public/tags/dns/index.html b/public/tags/dns/index.html new file mode 100644 index 0000000..5cdc97f --- /dev/null +++ b/public/tags/dns/index.html @@ -0,0 +1,85 @@ + + + + + + + + +dns + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+ +
+ + + + + diff --git a/public/tags/index.html b/public/tags/index.html index 66a884c..b573458 100644 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -38,6 +38,27 @@
+ + rss
+ + + piped
+ + + browser
+ + + unbound
+ + + Self-host
+ + + pi-hole
+ + + dns
+
diff --git a/public/tags/pi-hole/index.html b/public/tags/pi-hole/index.html new file mode 100644 index 0000000..cb15292 --- /dev/null +++ b/public/tags/pi-hole/index.html @@ -0,0 +1,85 @@ + + + + + + + + +pi-hole + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+ +
+ + + + + diff --git a/public/tags/piped/index.html b/public/tags/piped/index.html new file mode 100644 index 0000000..8a68cc1 --- /dev/null +++ b/public/tags/piped/index.html @@ -0,0 +1,85 @@ + + + + + + + + +piped + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+
+ +

Tag: piped

+ +
+ + + 26-02-2023 || Piped videos not loading
+ +
+
+
+ + + + + diff --git a/public/tags/rss/index.html b/public/tags/rss/index.html new file mode 100644 index 0000000..289be98 --- /dev/null +++ b/public/tags/rss/index.html @@ -0,0 +1,85 @@ + + + + + + + + +rss + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+ +
+ + + + + diff --git a/public/tags/self-host/index.html b/public/tags/self-host/index.html new file mode 100644 index 0000000..67295a4 --- /dev/null +++ b/public/tags/self-host/index.html @@ -0,0 +1,88 @@ + + + + + + + + +Self-host + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+ +
+ + + + + diff --git a/public/tags/unbound/index.html b/public/tags/unbound/index.html new file mode 100644 index 0000000..2d6cb7d --- /dev/null +++ b/public/tags/unbound/index.html @@ -0,0 +1,85 @@ + + + + + + + + +unbound + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+ +
+ + + + + diff --git a/static/css/style.css b/static/css/style.css index 4ed538a..b3255f2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -91,3 +91,16 @@ blockquote { flex-wrap: wrap; justify-content: center; } + +hr { + color: #51576d; +} + +#blog-meta p{ + display: inline; +} + +#blog-meta #date{ + padding-left: 10px; + color: #a5adce; +}