diff options
25 files changed, 104 insertions, 23 deletions
diff --git a/content-org/site.org b/content-org/site.org new file mode 100644 index 00000000..336ec12c --- /dev/null +++ b/content-org/site.org @@ -0,0 +1,44 @@ +#+TITLE: Site @ mms site +#+AUTHOR: Michał Sapka +#+URL: https://michal.sapka.me +#+STARTUP: show2levels indent logdone + +#+HUGO_BASE_DIR: ~/ghq/vcs.sapka.me/michal-sapka-me/ +#+HUGO_WEIGHT: auto +#+HUGO_SECTION: site + + +* 2024 :@site: +:PROPERTIES: +:EXPORT_HUGO_SECTION: site/updates/2024 +:END: + +** DONE Moved to Gitea +CLOSED: [2024-02-03 Sat 21:55] +:PROPERTIES: +:EXPORT_FILE_NAME: gitea +:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract I changed my hosted git site to Gitea +:END: +It's been a year[fn:year] since I said /sayonara/ to GitHub and started hosting my own git. +As it turns out, it is very easy. +I used Stagit[fn:stagit] as my UI, but I grew tired of it. +It's easy, takes no resources and looks /l33t/. +However, it is also difficult to navigate and use. + +What I want to run is Forgejo[fn:forgejo] but the binary is not in OpenBSD and I really don't want to recompile it all the time after every updated. +They are however working on federation[fn:forgejofederation] and I strongly believe that is where future lies. +I will move to Forgejo as soon as it is one =pkg_add= away. + +For now, I moved to Gitea[fn:gitea]. + +While is an /overkill/ for my dotfiles, it's also not huge - takes 60-100 Mb of ram, so it's acceptable. +It is also cute and allows me to share my code easily with fiends and family[fn:family]. + +You can see it under [[https://michal.sapka.me/git/][michal.sapka.me/git/]]. + +[fn:year] [[https://michal.sapka.me/site/updates/2023/i-now-host-my-own-code/][I now host my own code]] +[fn:stagit] [[https://codemadness.org/stagit.html][Stagit]] +[fn:forgejo] [[https://forgejo.org/][Forgejo.org]] +[fn:forgejofederation] [[https://forgejo.org/2023-01-10-answering-forgejo-federation-questions/][Answering Forgejo federation questions]] +[fn:gitea] [[https://about.gitea.com/][gitea.com]] +[fn:family] none of my family would know what the code does, but it is still pretty. diff --git a/content/site/info.md b/content/site/info.md index 081b90dd..385f32fa 100644 --- a/content/site/info.md +++ b/content/site/info.md @@ -22,7 +22,7 @@ Money earned due to this website: 0 USD (minus costs) ## Recent site updates -{{<recent-updates site-info>}} +{{<recent-updates site>}} {{</recent-updates>}} ## License diff --git a/content/site/updates/2022/version_2.md b/content/site/updates/2022/version_2.md index f54b6c2a..6b72e43d 100644 --- a/content/site/updates/2022/version_2.md +++ b/content/site/updates/2022/version_2.md @@ -2,7 +2,7 @@ date: 2022-05-02T21:10:00+02:00 draft: false category: -- site-info +- site - site-update - update year: 2022 diff --git a/content/site/updates/2023/108.md b/content/site/updates/2023/108.md index 90a3a221..2c514577 100644 --- a/content/site/updates/2023/108.md +++ b/content/site/updates/2023/108.md @@ -1,7 +1,7 @@ --- title: "#108" category: -- site-info +- site - site-update - update abstract: a pointless number diff --git a/content/site/updates/2023/a-meme-site.md b/content/site/updates/2023/a-meme-site.md index 22d67f93..423baff8 100644 --- a/content/site/updates/2023/a-meme-site.md +++ b/content/site/updates/2023/a-meme-site.md @@ -1,7 +1,7 @@ --- title: "A Meme Site" category: -- site-info +- site - site-update - update absract: I created a meme site. diff --git a/content/site/updates/2023/a-new-layout.md b/content/site/updates/2023/a-new-layout.md index 34ed0d10..24eb96a4 100644 --- a/content/site/updates/2023/a-new-layout.md +++ b/content/site/updates/2023/a-new-layout.md @@ -1,7 +1,7 @@ --- title: "A New Layout" category: -- site-info +- site - site-update - update abstract: The fourth look and feel for the site diff --git a/content/site/updates/2023/a-site-about-nothing.md b/content/site/updates/2023/a-site-about-nothing.md index 1812adb3..9e3b40f1 100644 --- a/content/site/updates/2023/a-site-about-nothing.md +++ b/content/site/updates/2023/a-site-about-nothing.md @@ -1,7 +1,7 @@ --- title: "A Site About Nothing" category: -- site-info +- site - site-update - update abstract: It's an E/N now diff --git a/content/site/updates/2023/an-entire-month-of-posts.md b/content/site/updates/2023/an-entire-month-of-posts.md index e1489fe7..f8c2b3e5 100644 --- a/content/site/updates/2023/an-entire-month-of-posts.md +++ b/content/site/updates/2023/an-entire-month-of-posts.md @@ -1,7 +1,7 @@ --- title: "An Entire Month of Posts" category: -- site-info +- site - site-update - update abstract: I've posted everyday for the last month! diff --git a/content/site/updates/2023/blog.md b/content/site/updates/2023/blog.md index 1e8141ce..31d105cb 100644 --- a/content/site/updates/2023/blog.md +++ b/content/site/updates/2023/blog.md @@ -1,7 +1,7 @@ --- title: "My Blog now has a Blog" category: - - site-info + - site - site-update - update abstract: Blogs moved under Blog diff --git a/content/site/updates/2023/bsd-section.md b/content/site/updates/2023/bsd-section.md index c0c24b74..d5e9245b 100644 --- a/content/site/updates/2023/bsd-section.md +++ b/content/site/updates/2023/bsd-section.md @@ -1,7 +1,7 @@ --- title: "BSD Is Now a Section" category: - - site-info + - site - site-update - update abstract: diff --git a/content/site/updates/2023/ch-ch-changes.md b/content/site/updates/2023/ch-ch-changes.md index 057729df..2720ac56 100644 --- a/content/site/updates/2023/ch-ch-changes.md +++ b/content/site/updates/2023/ch-ch-changes.md @@ -1,7 +1,7 @@ --- title: "Ch-Ch-Changes" category: -- site-info +- site - site-update - update abstract: Version 4.1? diff --git a/content/site/updates/2023/fixing-ipv6-and-securing-the-domain.md b/content/site/updates/2023/fixing-ipv6-and-securing-the-domain.md index fc1ea140..0f871bab 100644 --- a/content/site/updates/2023/fixing-ipv6-and-securing-the-domain.md +++ b/content/site/updates/2023/fixing-ipv6-and-securing-the-domain.md @@ -1,7 +1,7 @@ --- title: Fixing IPv6 and securing the domain category: -- site-info +- site abstract: Mistakes were made date: 2023-05-05T13:55:14+02:00 year: 2023 diff --git a/content/site/updates/2023/follow-this-blog-on-twitter.md b/content/site/updates/2023/follow-this-blog-on-twitter.md index 600fd463..da630028 100644 --- a/content/site/updates/2023/follow-this-blog-on-twitter.md +++ b/content/site/updates/2023/follow-this-blog-on-twitter.md @@ -1,7 +1,7 @@ --- title: "Follow This Blog on Twitter" category: -- site-info +- site - site-update - update abstract: You can now follow this blog on twtr! diff --git a/content/site/updates/2023/i-now-host-my-own-code.md b/content/site/updates/2023/i-now-host-my-own-code.md index e09ad93e..6ceb4853 100644 --- a/content/site/updates/2023/i-now-host-my-own-code.md +++ b/content/site/updates/2023/i-now-host-my-own-code.md @@ -1,7 +1,7 @@ --- title: "I Now Host My Own Code" category: -- site-info +- site - site-update - update abstract: Why I left Github. diff --git a/content/site/updates/2023/new-domain-bsd-and-sayonara-memes.md b/content/site/updates/2023/new-domain-bsd-and-sayonara-memes.md index 383cd337..15e1dd83 100644 --- a/content/site/updates/2023/new-domain-bsd-and-sayonara-memes.md +++ b/content/site/updates/2023/new-domain-bsd-and-sayonara-memes.md @@ -1,7 +1,7 @@ --- title: "New Domain, BSD and Sayonara Memes!" category: -- site-info +- site - site-update - update abstract: this site is now running on FreeBSD! diff --git a/content/site/updates/2023/now-served-from-ipv6.md b/content/site/updates/2023/now-served-from-ipv6.md index 390d98eb..b04e0993 100644 --- a/content/site/updates/2023/now-served-from-ipv6.md +++ b/content/site/updates/2023/now-served-from-ipv6.md @@ -1,7 +1,7 @@ --- title: "Now Served From IPv6" category: -- site-info +- site - site-update - update abstract: Added the missing AAAA record diff --git a/content/site/updates/2023/openbsd-74.md b/content/site/updates/2023/openbsd-74.md index a5539620..45b8f114 100644 --- a/content/site/updates/2023/openbsd-74.md +++ b/content/site/updates/2023/openbsd-74.md @@ -1,7 +1,7 @@ --- title: "Now on OpenBSD 7.4" category: -- site-info +- site - site-update - update abstract: OS updated! diff --git a/content/site/updates/2023/removed-plausible.md b/content/site/updates/2023/removed-plausible.md index 0143f159..918629f9 100644 --- a/content/site/updates/2023/removed-plausible.md +++ b/content/site/updates/2023/removed-plausible.md @@ -1,7 +1,7 @@ --- title: "Removed Plausible analytics" category: -- site-info +- site - site-update - update abstract: I will know even less about you diff --git a/content/site/updates/2023/statistics-are-now-public.md b/content/site/updates/2023/statistics-are-now-public.md index f72bca01..22108019 100644 --- a/content/site/updates/2023/statistics-are-now-public.md +++ b/content/site/updates/2023/statistics-are-now-public.md @@ -1,7 +1,7 @@ --- title: "Statistics Are Now Public" category: -- site-info +- site - site-update - update abstract: this blog has open statistics for eveyone to marvel at diff --git a/content/site/updates/2023/this-blog-is-ai-free.md b/content/site/updates/2023/this-blog-is-ai-free.md index d71acebd..3953d58b 100644 --- a/content/site/updates/2023/this-blog-is-ai-free.md +++ b/content/site/updates/2023/this-blog-is-ai-free.md @@ -1,7 +1,7 @@ --- title: "This Blog Is AI Free" category: -- site-info +- site - site-update - update year: 2023 diff --git a/content/site/updates/2023/this-site-no-longer-spies-for-youtube.md b/content/site/updates/2023/this-site-no-longer-spies-for-youtube.md index b5bf4334..47c0b7fc 100644 --- a/content/site/updates/2023/this-site-no-longer-spies-for-youtube.md +++ b/content/site/updates/2023/this-site-no-longer-spies-for-youtube.md @@ -1,7 +1,7 @@ --- title: "This Site No Longer Spies for Youtube" category: -- site-info +- site - site-update - update abstract: Linking to YT in place of embeding is better for page load sped diff --git a/content/site/updates/2024/gitea.md b/content/site/updates/2024/gitea.md new file mode 100644 index 00000000..e8ba4043 --- /dev/null +++ b/content/site/updates/2024/gitea.md @@ -0,0 +1,32 @@ ++++ +title = "Moved to Gitea" +author = ["Michał Sapka"] +date = 2024-02-03T21:55:00+01:00 +categories = ["site"] +draft = false +abstract = "I changed my hosted git site to Gitea" ++++ + +It's been a year[^fn:1] since I said _sayonara_ to GitHub and started hosting my own git. +As it turns out, it is very easy. +I used Stagit[^fn:2] as my UI, but I grew tired of it. +It's easy, takes no resources and looks _l33t_. +However, it is also difficult to navigate and use. + +What I want to run is Forgejo[^fn:3] but the binary is not in OpenBSD and I really don't want to recompile it all the time after every updated. +They are however working on federation[^fn:4] and I strongly believe that is where future lies. +I will move to Forgejo as soon as it is one `pkg_add` away. + +For now, I moved to Gitea[^fn:5]. + +While is an _overkill_ for my dotfiles, it's also not huge - takes 60-100 Mb of ram, so it's acceptable. +It is also cute and allows me to share my code easily with fiends and family[^fn:6]. + +You can see it under [michal.sapka.me/git/](https://michal.sapka.me/git/). + +[^fn:1]: [I now host my own code](https://michal.sapka.me/site/updates/2023/i-now-host-my-own-code/) +[^fn:2]: [Stagit](https://codemadness.org/stagit.html) +[^fn:3]: [Forgejo.org](https://forgejo.org/) +[^fn:4]: [Answering Forgejo federation questions](https://forgejo.org/2023-01-10-answering-forgejo-federation-questions/) +[^fn:5]: [gitea.com](https://about.gitea.com/) +[^fn:6]: none of my family would know what the code does, but it is still pretty.
\ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b8e5c586..d17c92e0 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -46,6 +46,8 @@ {{ $section_class = "star-trek" }} {{ else if in .Page.Params.category "site-info" }} {{ $section_class = "site-info" }} + {{ else if in .Page.Params.categories "site" }} + {{ $section_class = "site-info" }} {{ else if in .Page.Params.category "bsd" }} {{ $section_class = "bsd" }} {{ else if in .Page.Params.categories "blog" }} diff --git a/layouts/partials/back_nav.html b/layouts/partials/back_nav.html index 54fbfdba..2f81cfd1 100644 --- a/layouts/partials/back_nav.html +++ b/layouts/partials/back_nav.html @@ -6,6 +6,8 @@ <a href="/star-trek/">← back to Space Cadet Log</a> {{- else if in .Page.Params.Category "site-info" }} <a href="/site/">← Back to Site Info</a> +{{- else if in .Page.Params.Categories "site" }} + <a href="/site/">← Back to Site Info</a> {{- else if in .Page.Params.Category "bsd" }} <a href="/bsd/">← Back to Daemonic BSD Site</a> {{- else if in .Page.Params.Categories "blog" }} diff --git a/layouts/shortcodes/recent-updates.html b/layouts/shortcodes/recent-updates.html index 959ebf51..027f3bd3 100644 --- a/layouts/shortcodes/recent-updates.html +++ b/layouts/shortcodes/recent-updates.html @@ -5,12 +5,13 @@ <nav> {{- range - (where .Site.RegularPages ".Params.category" "intersect" $filter).ByDate.Reverse }} + (where .Site.RegularPages ".Params.Categories" "intersect" $filter).ByDate.Reverse }} {{ partial "partials/article_list_item.html" . }} {{- end }} - + {{- range - (where .Site.RegularPages ".Params.Categories" "intersect" $filter).ByDate.Reverse }} + (where .Site.RegularPages ".Params.category" "intersect" $filter).ByDate.Reverse }} {{ partial "partials/article_list_item.html" . }} {{- end }} + </nav> |