From 9d4e85ca5a6199d6b8888900ea01b4270c995933 Mon Sep 17 00:00:00 2001 From: mms Date: Mon, 2 Dec 2024 21:16:31 +0100 Subject: feat: new HP --- content-org/.#blog.org | 1 + content/1 | 48 ---------------------- content/funnies.md | 29 ------------- content/links.md | 48 ---------------------- content/stats.md | 36 ---------------- themes/24-unification/layouts/_default/baseof.html | 5 ++- themes/24-unification/layouts/_default/index.html | 39 ++++++++++++++++++ 7 files changed, 43 insertions(+), 163 deletions(-) create mode 120000 content-org/.#blog.org delete mode 100644 content/1 delete mode 100644 content/funnies.md delete mode 100644 content/links.md delete mode 100644 content/stats.md create mode 100644 themes/24-unification/layouts/_default/index.html diff --git a/content-org/.#blog.org b/content-org/.#blog.org new file mode 120000 index 0000000..6d37990 --- /dev/null +++ b/content-org/.#blog.org @@ -0,0 +1 @@ +mms@voyager.local.16120:1733146398 \ No newline at end of file diff --git a/content/1 b/content/1 deleted file mode 100644 index 0721a0e..0000000 --- a/content/1 +++ /dev/null @@ -1,48 +0,0 @@ -+++ -title = "Cool Emacs" -author = ["Michał Sapka"] -date = 2024-06-15T21:52:00+02:00 -categories = ["emacs"] -draft = false -weight = 2001 -image_dir = "emacs" -image_max_width = 480 -primary_menu = "emacs" -shortname = "Cool usages of Emacs" -[menu] - [menu.emacs] - weight = 2001 - identifier = "cool-emacs" - post = "Emacs usage that is not text editing" -+++ - -{{< image forced_width="350" class="right no-border" alt="An Emacs logo in cool glassess doing a skateboard flip" file="cool-macs.png" >}} -noop -{{< /image >}} - -> _Let me tell you: Emacs is not a text editor._ -> -> -- Emerald McS., PhD - -Even though most of what Emacs is known for is _editing text_, it can do so much more. -It's the most flexible application out there, so when you start to adjust the basics for yourself, you want to use it everywhere. -Here, I will present _Emacs_ as a general purpose interface. - - -## Cool ways to use Emacs {#cool-ways-to-use-emacs} - -{{< menu "cool-emacs-ways" >}} -Dune -{{< /menu >}} - - -## Appendix {#appendix} - -{{< menu "cool-emacs-appendix" >}} -Dune -{{< /menu >}} - - -## Coolmacs {#coolmacs} - -The mascot, Coolmacs, was drawn by [Drew](https://drewsh.com/). diff --git a/content/funnies.md b/content/funnies.md deleted file mode 100644 index 1a80a3e..0000000 --- a/content/funnies.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: "Funnies" -categories: -- null -type: special -abstract: Funny and amusing thingies -date: 2023-11-18T23:22:22+01:00 -draft: false ---- -The following is a curated collection of things I found funny or amusing. -I have not created any of those, so everything under Funnies is not under the main site license. - -I am sure not all (or any) will be considered funny by anyone else, so those things are funny to *me* and me alone. - -Unless stated otherwise, any item is SFW. - -I will upload new things every few weeks/months, but this part of my site is RSS unfriendly. -If you want, just come back every so often and see if there is a new funny! - -### Funnies archives - -└── [funnies](/funnies/c/) -       └── [2023](/funnies/c/2023) -       └── [2024](/funnies/c/2024) [current] - -### Tech stuff for nerds - -It's just a directory with auto indexing enabled. I upload new data using rsync(1). - diff --git a/content/links.md b/content/links.md deleted file mode 100644 index 6ed72fb..0000000 --- a/content/links.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: "Links" -categories: -- null -type: "special" -abstract: Places around the web I visit most often -date: 2023-03-09T10:43:53+01:00 -draft: false -tags: [] ---- -The following is a short list of Internet places I regularly visit. Most of them are in my RSS reader. I try not to promote companies or big publishers here. - -### General nerdiness - -- [Rubenerd](https://rubenerd.com/) - a very old personal blog of Ruben. FreeBSD, anime, retro computing and general life thoughts. New posts daily! A really cool guy. -- [Brain Baking](https://brainbaking.com/) - an interesting blog about broader engineering culture, retro gaming, and a wide variety of random topics. -- [Grumpy Gamer](https://grumpygamer.com) - Ron Gilbert's (of Monkey Island and Thimbleweed Park fame) personal blog. Unfortunately, Ron writes mostly on Mastodon. -- [Data Gubbe](https://www.datagubbe.se/) - an A/N blog of a fellow nerd. Very rarely corrected. -- [bht](https://bt.ht) - a blog about the internet, Linux, and programming. -- [Dan Wood](https://odysee.com/@danwood:0) - vlog about old and unknown hardware/software. Fascinating stuff! - -### Deep nerdiness - -- [Fabien Sanglard](https://fabiensanglard.net/) - one of the greatest sites on the Web full of detailed technical explanations of games of the past. The primary inspiration for the look of my blog. -- [Jonathan Blow](https://odysee.com/@jblow:0) - vlog of the creator of Braid and The Witness. Very opionionated stuff. -- [Julia Evans](https://jvns.ca) - perhaps the greatest technical writer for web devs out there outside of thick books. - -### Emacs - -- [Irreal](https://irreal.org) - daily updates about Emacs and computing since 2011. -- [Sacha Chua](https://sachachua.com) - a weekly summary of Emacs on the Web. -- [Protesilaos Stavrou](https://protesilaos.com) - philosopher turned Emacser. -- [System Crafters](https://systemcrafters.net) - home of the best video tutorials on Emacs. - -### BSD - -- [Vermaden](https://vermaden.wordpress.com/) - if you want to run FreeBSD as an end-user, Vermaden most likely has a lof answers for you. -- [Garry H. Tech](https://odysee.com/@GaryHTech:0) - general FreeBSD vlogs. -- [Robo Nuggie](https://odysee.com/@RoboNuggie:0) - another general FreeBSD vlogs. - -### General *NIX - -- [Luke Smith](https://lukesmith.xyz/) - the bad boy of FOSS, the living meme. Some may enjoy his general thoughts (I certainly do!), but the quality of his Linux and Vim tutorials is undeniable. -- [Veronica Explains](https://tilvids.com/c/veronicaexplains_channel/videos) - easy-to-follow tutorials for *NIX newcomers. -- [The Linux Expriment](https://tilvids.com/c/thelinuxexperiment_channel/videos) - the best Linux news vlog out there. - - - diff --git a/content/stats.md b/content/stats.md deleted file mode 100644 index b4b4aa9..0000000 --- a/content/stats.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: "Site stats" -categories: -- site-info -skip-title: true -abstract: Statistics of this site -date: 2023-11-08T15:01:07+01:00 -draft: false -hardback: true ---- - - -## Site stats - -{{}} - -## Web server stats (for nerds) - -Graphs generated using [rrdtool (1)](https://oss.oetiker.ch/rrdtool/) - -{{}} -{{}} -{{}} -{{}} - -## Firewall stats (also for nerds) - -Firewall graphs generated using [pfstat (8)](https://www.benzedrine.ch/pfstat.html). - -{{}} -{{}} -{{}} -{{}} - -Thanks for being here! - diff --git a/themes/24-unification/layouts/_default/baseof.html b/themes/24-unification/layouts/_default/baseof.html index d660f8a..1052492 100644 --- a/themes/24-unification/layouts/_default/baseof.html +++ b/themes/24-unification/layouts/_default/baseof.html @@ -520,11 +520,12 @@ nav.horizontal { } } + } @media only screen and (max-width: 800px) { main { - padding: 10px; + margin: 0; + padding: 2px; } - } diff --git a/themes/24-unification/layouts/_default/index.html b/themes/24-unification/layouts/_default/index.html new file mode 100644 index 0000000..b168a8e --- /dev/null +++ b/themes/24-unification/layouts/_default/index.html @@ -0,0 +1,39 @@ +{{ define "main" }} +{{ $oldDate := "aaa" }} +
+
+

CrysSITE

+

+ est. 2022 +

+
+

+ Hello and welcome! + My name is Michal and this is my personal website. + I am a software engineer from southern Poland. + There's quite a lot here, as you can see bellow, but this does not include things like contact or mirrors of other pages. + You can jump to dedicated sections using the menu on the left (or, on top, if you surf the web using a mobile phone). +

+ +

+ Nothing here was created with the use of GenAI. +

+ {{ range where .Site.RegularPages.ByDate.Reverse ".Params.nolist" "<>" true }} + {{$newDate := .PublishDate.Format "2006"}} + + {{ if not (eq $oldDate $newDate) }} + {{ if not (eq $oldDate "aaa") }} {{ end }} +
    +

    {{ $newDate }}

    + {{ end }} + +
  • + {{ .Section}}/{{ .Title }} + + + {{ $oldDate = $newDate }} + {{ end }} +
+
+{{ end }} + -- cgit v1.2.3