summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUser Mms <mms@voyager.local>2024-10-13 23:20:31 +0200
committerUser Mms <mms@voyager.local>2024-10-13 23:20:31 +0200
commit55a2a1b2f1321eb609136e01546125a324f7d6ef (patch)
treee9d98bc70650a04ff86bd2ae718878d5d4ade50d
parent87992468e1dedcc8a5d765f87738f18dce671845 (diff)
new lay, phase 1
-rw-r--r--config/_default/menus.en.toml29
-rw-r--r--content-org/more.org (renamed from content-org/blog-extra.org)41
-rw-r--r--content/2022/_index.html0
-rw-r--r--content/2022/buffers_splits_tabs.md73
-rw-r--r--content/_index.md3
-rw-r--r--content/all_updates.md12
-rw-r--r--content/blog/2022/repartitioning.md3
-rw-r--r--content/blog/2023/book-update-1.md3
-rw-r--r--content/blog/2023/computer-folks-ignore-history.md3
-rw-r--r--content/blog/2023/first-time-zfs-saved-me.md3
-rw-r--r--content/blog/2023/footnotes-in-hugo-and-goldmark.md3
-rw-r--r--content/blog/2023/freebsd-13.2-was-released-and-broke-my-resume.md3
-rw-r--r--content/blog/2023/freebsd-on-modern-intel-wifi-cards-and-resume.md3
-rw-r--r--content/blog/2023/how-i-reignited-my-passion-for-computers.md3
-rw-r--r--content/blog/2023/human-web.md2
-rw-r--r--content/blog/2023/my-first-computer.md3
-rw-r--r--content/blog/2023/open-bsd-7-3-was-released-today.md3
-rw-r--r--content/blog/2023/persona-5.md3
-rw-r--r--content/blog/2023/receiving-email.md3
-rw-r--r--content/blog/2023/reddit-and-the-centralized-web.md2
-rw-r--r--content/blog/2023/so-what.md3
-rw-r--r--content/blog/2023/that-ending-scene-from-kids-on-the-slope.md3
-rw-r--r--content/blog/2023/that-later-scene-from-kids-on-the-slope.md3
-rw-r--r--content/blog/2023/that-one-time-when-iron-maiden-played-at-a-polish-wedding.md3
-rw-r--r--content/blog/2023/that-scene-from-kids-on-the-slope.md3
-rw-r--r--content/blog/2023/that-scene-from-kids-on-the-slope.md~10
-rw-r--r--content/blog/2023/the-true-history-of-vi.md3
-rw-r--r--content/blog/2023/the-worst-part-of-emacs-after-3-weeks.md3
-rw-r--r--content/blog/2023/tired-of-blogging.md3
-rw-r--r--content/blog/2023/tomasz-stanko-music-for-k.md3
-rw-r--r--content/blog/2023/tomasz-stanko-terminal-7.md3
-rw-r--r--content/blog/2023/why-does-this-site-exist.md3
-rw-r--r--content/blog/2023/zork.md3
-rw-r--r--content/blog/_index.md1
-rw-r--r--content/funnies.md3
-rw-r--r--content/links.md3
-rw-r--r--content/more/_index.md (renamed from content/blog/more/_index.md)3
-rw-r--r--content/more/about/_index.md (renamed from content/blog/about/_index.md)5
-rw-r--r--content/more/contact/_index.md (renamed from content/blog/contact/_index.md)5
-rw-r--r--content/more/now/_index.md (renamed from content/blog/now/_index.md)17
-rw-r--r--content/more/uses/_index.md (renamed from content/blog/uses/_index.md)5
-rw-r--r--content/stats.md2
-rw-r--r--themes/24-unification/layouts/_default/baseof.html326
43 files changed, 329 insertions, 285 deletions
diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml
index 41d1457..48f1dfa 100644
--- a/config/_default/menus.en.toml
+++ b/config/_default/menus.en.toml
@@ -1,10 +1,10 @@
[[sections]]
name = "Blog"
- section = "blog"
- pageRef = "/1"
+ pageRef = "/blog/"
weight = 100
[[sections.params]]
submenu = "sections-blog"
+ section = "blog"
# [[sections-blog]]
# name = "2024"
@@ -61,24 +61,29 @@
[[sections]]
name = "More"
- section="more"
pageRef = "/more"
weight = 2000
[[sections.params]]
+ section="more"
submenu = "sections-extra"
[[sections-extra]]
+ name = "About"
+ pageRef = "/more/about"
+
+
+[[sections-extra]]
name = "Uses"
pageRef = "/more/uses"
[[sections-extra]]
name = "Now"
- pageRef = "/unix-history"
+ pageRef = "/more/now"
[[sections-extra]]
name = "Contact"
- pageRef = "/unix-history"
+ pageRef = "/more/contact"
# [[sections]]
@@ -89,13 +94,13 @@
# submenu = "sections-null"
-[[sections]]
- name = "Subscribe"
- pageRef = "/index.xml"
- weight = 10000
- [[sections.params]]
- submenu = "sections-null"
-
+# [[sections]]
+# name = "Subscribe"
+# pageRef = "/index.xml"
+# weight = 10000
+# [[sections.params]]
+# submenu = "sections-null"
+# section = "blog"
diff --git a/content-org/blog-extra.org b/content-org/more.org
index bae232c..84a92a8 100644
--- a/content-org/blog-extra.org
+++ b/content-org/more.org
@@ -3,20 +3,12 @@
#+URL: https://michal.sapka.me/blog/
#+STARTUP: show2levels indent logdone
-#+HUGO_BASE_DIR: ~/ghq/vcs.sapka.me/michal-sapka-me/
-#+HUGO_WEIGHT: auto
-#+HUGO_SECTION: more
+#+HUGO_BASE_DIR: ~/ghq/michal.sapka.me/mms/site
-* Michał's Blog
-:PROPERTIES:
-:EXPORT_HUGO_SECTION: blog/
-:EXPORT_FILE_NAME: _index
-:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract My e/n blog, est. 2022. Over 200 thingies!
-:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/toc/)
-:END:
+#+HUGO_WEIGHT: auto
-* More pages
+* More pages :@more:
:PROPERTIES:
:EXPORT_HUGO_SECTION: more
:EXPORT_FILE_NAME: _index
@@ -37,14 +29,16 @@
- [[/cool-emacs/][Cool Emacs]] - cool things to do with Emacs
- [[/brain-rot/][Brain Rots]] - reviews, mostly SciFi
-* About
+
+* About :@more:
:PROPERTIES:
-:EXPORT_HUGO_SECTION: blog/about
+:EXPORT_HUGO_SECTION: more/about
:EXPORT_FILE_NAME: _index
:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract Some info about me
-:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/about/)
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/about/ /blog/about/)
:EXPORT_HUGO_PAIRED_SHORTCODES: causes
:END:
+
Hey, my name is Michał Sapka.
I am a computer geek from Kraków, Poland.
I am into niche and old things, like anime, BSD, or Emacs.
@@ -83,12 +77,12 @@ I want to thank anyone who emailed me about this site. It's always a blast to re
-* Now
+* Now :@more:
:PROPERTIES:
-:EXPORT_HUGO_SECTION: blog/now
+:EXPORT_HUGO_SECTION: more/now
:EXPORT_FILE_NAME: _index
:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract How What I'm up to?
-:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/now/ /me/now/)
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/now/ /me/now/ /blog/now/))
:END:
** Now
@@ -137,12 +131,12 @@ This is list of hardware and software I use.
Note, that I have two PCs (work MacBook and personal ThinkPad).
I try to address this when applicable.
-* Contact
+* Contact :@more:
:PROPERTIES:
-:EXPORT_HUGO_SECTION: blog/contact
+:EXPORT_HUGO_SECTION: more/contact
:EXPORT_FILE_NAME: _index
:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract How to contact me
-:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/contact/ /me/contact/)
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/contact/ /me/contact/ /blog/contact/)
:END:
** Contact
@@ -165,17 +159,16 @@ curl -sL https://michal.sapka.me/mms.gpg | gpg --import
Log:
- 2023-11-30: key *72AC6E152B4D98DE4CEF2CDA7E97D88147ED66E7* created
-* Uses
+* Uses :@more:
:PROPERTIES:
-:EXPORT_HUGO_SECTION: blog/uses
+:EXPORT_HUGO_SECTION: more/uses
:EXPORT_FILE_NAME: _index
:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract How to contact me
-:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/uses/ /me/uses/)
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/uses/ /me/uses/ /blog/uses)
:EXPORT_HUGO_PAIRED_SHORTCODES: image
:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :image_dir "blog/images" :image_max_width 600
:END:
-
** Hardware
#+attr_shortcode: :file setup-2024-07.jpg
#+attr_shortcode: :alt A computer on a desk
diff --git a/content/2022/_index.html b/content/2022/_index.html
deleted file mode 100644
index e69de29..0000000
--- a/content/2022/_index.html
+++ /dev/null
diff --git a/content/2022/buffers_splits_tabs.md b/content/2022/buffers_splits_tabs.md
deleted file mode 100644
index bd9fedf..0000000
--- a/content/2022/buffers_splits_tabs.md
+++ /dev/null
@@ -1,73 +0,0 @@
----
-title: "Buffers, splits and tabs in Vim"
-category: "engineering"
-year: 2022
-date: 2022-04-05T22:56:47+02:00
-draft: false
-tags:
-- buffers
-- splits
-- tabs
-- tutorial
-abstract: A short tutrial.
----
-Sometimes I work with Vim in brief bursts - open a file, edit it, close it, do something else, open a new instance of Vim with a new file, etc. But on most occasions, I work on bigger things requiring work with multiple files simultaneously. Luckily, Vim has me covered - as a modern editor should.
-
-## Buffers
-
-Whenever a file is opened (be it via ex command or just while opening Vim) or created, a new in-memory representation is stored in memory. Those representations are called "buffers."
-
-We can list all currently existing buffers for a particular Vim instance via the ex command:
-
-`:ls`
-
-The list will look like this:
-
-```
-1 h "data/data.txt" line 23
-11 %a "data/other_data.txt" line 34
-```
-
-We see two opened buffers, each one on a separate line. They have assigned IDs 1 and 11. Next, we have indicators, out which we need to remember that:
-
-```
- KEY | DESCRIPTION
-====================================================================
- % | marks buffer opened in the current window.
- # | denotes an alternative file.
- a | represents the currently active buffer.
- h | marks opened buffer, which is now not displayed on the screen.
- + | marks the modified buffer.
- x | is telling us that a buffer has read errors.
-```
-
-And lastly, we have the current line in the buffer.
-
-Note that jobs can create dedicated buffers (marked by `R` for running jobs and `F` for finished ones)
-
-We can traverse opened buffers using jumps via `:b[uffer] ID` (for example, `:b 1`), or with the filename: `b other_data`, or opening next/previous by using `:bn[ext]` and `:bp[rev]`
-
-
-Any buffer can be closed via `:bd[elete]`.
-
-Since we can have the same buffer opened in different splits, we can see that Vim will keep content in sync, as buffers are not files but in-memory representations.
-
-## Splits
-
-At any moment, we can divide Vim's window into multiple split windows, and each split can host any buffer. If we want to divide the current window horizontally, we need to press `<C-w>s` (or issue ex command `:sp[lit]`), and if we're going to split it vertically (which, at least for me, is the default way), we need to press `<C-w>h` / issue `:vsp[lit]` . When a new window is created, it will occupy 50% of the parent window. You can close the currently active window by `:cl[ose]` / `<C-w>c`, or close all but the active one with `:on[ly]` / `<C-w>o`.
-
-Any newly created window will borrow an active buffer from the parent split. When we open a buffer or a file, Vim will open it in the current window.
-
-Moving focus between windows is done with `<C-w>h/j/k/l` but people commonly remap it to just `<C-h/j/k/l>`, as this focus is moved all the time.
-
-It's possible to resize windows in a tiling manner, but I never use it.
-
-## Tabs
-
-Tabs are present in most editors I know. However, Vim treats them differently. For example, in IntelliJ, each opened file is presented as a tab, and each split can have multiple tabs.
-
-In Vim, however, it's the exact opposite: each tab can hold multiple splits. Ergo, each tab can be a separate workspace with a completely different layout. This makes them much harder to use, as each change of focus can result in a complete change of context. However, this is also their greatest strength - when we want to jump to a different task or project, IntelliJ would like us to create a new window; Vim, on the other hand, allows us to use a dedicated tab. Later, when we return to the previous task, our entire workspace is just as we left it.
-
-We can create a new tab via `:tabnew`. New tab is added with an empty buffer. When the last window in a tab is closed, the tab is also closed. We can also force close all Windows on the current tab via `:tabc`.
-
-Changing focus between tabs is done via `gt` for the next tab, `gT` for the previous one, and `{N}gt` will force a given tab to focus.
diff --git a/content/_index.md b/content/_index.md
index 05f90f8..b9e70c1 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -2,7 +2,8 @@
title: "Homepage"
date: 2022-12-28T23:42:51+01:00
draft: false
-category: msw
+categories:
+- msw
noback: true
---
diff --git a/content/all_updates.md b/content/all_updates.md
deleted file mode 100644
index f731eee..0000000
--- a/content/all_updates.md
+++ /dev/null
@@ -1,12 +0,0 @@
----
-title: "All updates"
-category: "meta"
-abstract: All updates
-type: special
-date: 2023-11-17T20:42:09+01:00
-draft: false
----
-Chronological list of all updates on this site.
-
-{{<recent-updates "update" 10000000 >}}
-{{</recent-updates>}}
diff --git a/content/blog/2022/repartitioning.md b/content/blog/2022/repartitioning.md
index 2e44910..4d88a62 100644
--- a/content/blog/2022/repartitioning.md
+++ b/content/blog/2022/repartitioning.md
@@ -1,7 +1,8 @@
---
date: 2022-05-07T10:15:00+02:00
draft: false
-categories: blog
+categories:
+- blog
year: 2022
title: Repartitioning the home server
abstract: How I rethought and repartitioned my server.
diff --git a/content/blog/2023/book-update-1.md b/content/blog/2023/book-update-1.md
index 18a064f..2eb8745 100644
--- a/content/blog/2023/book-update-1.md
+++ b/content/blog/2023/book-update-1.md
@@ -1,6 +1,7 @@
---
title: "Book Update 1"
-categories: blog
+categories:
+- blog
abstract: Work commences
date: 2023-11-07T16:27:40+01:00
draft: false
diff --git a/content/blog/2023/computer-folks-ignore-history.md b/content/blog/2023/computer-folks-ignore-history.md
index 2792cbf..0b61777 100644
--- a/content/blog/2023/computer-folks-ignore-history.md
+++ b/content/blog/2023/computer-folks-ignore-history.md
@@ -1,6 +1,7 @@
---
title: "Computer Folks Ignore History"
-categories: blog
+categories:
+- blog
abstract: We should to understand our past
date: 2023-04-14T21:24:59+02:00
year: 2023
diff --git a/content/blog/2023/first-time-zfs-saved-me.md b/content/blog/2023/first-time-zfs-saved-me.md
index d05cded..348415c 100644
--- a/content/blog/2023/first-time-zfs-saved-me.md
+++ b/content/blog/2023/first-time-zfs-saved-me.md
@@ -1,6 +1,7 @@
---
title: "First Time the ZFS Saved Me"
-categories: blog
+categories:
+- blog
abstract: Automatic snapshot saved me from a full system reinstalation
date: 2023-03-18T06:04:33+01:00
year: 2023
diff --git a/content/blog/2023/footnotes-in-hugo-and-goldmark.md b/content/blog/2023/footnotes-in-hugo-and-goldmark.md
index 21bed4d..6cca091 100644
--- a/content/blog/2023/footnotes-in-hugo-and-goldmark.md
+++ b/content/blog/2023/footnotes-in-hugo-and-goldmark.md
@@ -1,6 +1,7 @@
---
title: "Footnotes in Hugo and Goldmark"
-categories: blog
+categories:
+- blog
abstract: How to add add footnotes to Hugo?
date: 2023-05-08T15:30:46+02:00
year: 2023
diff --git a/content/blog/2023/freebsd-13.2-was-released-and-broke-my-resume.md b/content/blog/2023/freebsd-13.2-was-released-and-broke-my-resume.md
index c4f7e59..6273c51 100644
--- a/content/blog/2023/freebsd-13.2-was-released-and-broke-my-resume.md
+++ b/content/blog/2023/freebsd-13.2-was-released-and-broke-my-resume.md
@@ -1,6 +1,7 @@
---
title: "FreeBSD 13.2 was released and broke my resume"
-categories: blog
+categories:
+- blog
abstract: There's a new version and new problems for me
date: 2023-04-11T16:10:29+02:00
year: 2023
diff --git a/content/blog/2023/freebsd-on-modern-intel-wifi-cards-and-resume.md b/content/blog/2023/freebsd-on-modern-intel-wifi-cards-and-resume.md
index 1c92f57..5af8a10 100644
--- a/content/blog/2023/freebsd-on-modern-intel-wifi-cards-and-resume.md
+++ b/content/blog/2023/freebsd-on-modern-intel-wifi-cards-and-resume.md
@@ -1,6 +1,7 @@
---
title: FreeBSD on modern Intel WiFi cards and resume.
-categories: blog
+categories:
+- blog
abstract: FreeBSD has a lot of problems with WiFi card
date: 2023-03-15T09:19:52+01:00
year: 2023
diff --git a/content/blog/2023/how-i-reignited-my-passion-for-computers.md b/content/blog/2023/how-i-reignited-my-passion-for-computers.md
index 39d2342..4408f8f 100644
--- a/content/blog/2023/how-i-reignited-my-passion-for-computers.md
+++ b/content/blog/2023/how-i-reignited-my-passion-for-computers.md
@@ -1,6 +1,7 @@
---
title: "How I Reignited My Passion for Computers"
-categories: blog
+categories:
+- blog
abstract: a short story about how I fell in love in computers again.
date: 2023-02-07T09:42:05+01:00
year:
diff --git a/content/blog/2023/human-web.md b/content/blog/2023/human-web.md
index 2ea8bf9..dade280 100644
--- a/content/blog/2023/human-web.md
+++ b/content/blog/2023/human-web.md
@@ -1,7 +1,7 @@
---
title: "Human Web"
categories:
-- article
+- blog
abstract: Can we save the Web?
date: 2023-05-15T17:12:09+02:00
draft: false
diff --git a/content/blog/2023/my-first-computer.md b/content/blog/2023/my-first-computer.md
index 968e9ae..dbb2d4e 100644
--- a/content/blog/2023/my-first-computer.md
+++ b/content/blog/2023/my-first-computer.md
@@ -1,6 +1,7 @@
---
title: "My First Computer"
-categories: blog
+categories:
+- blog
abstract: computers memories from post-PRL childhood.
year: 2023
date: 2023-01-18T21:37:17+01:00
diff --git a/content/blog/2023/open-bsd-7-3-was-released-today.md b/content/blog/2023/open-bsd-7-3-was-released-today.md
index 6cc4db3..27f5955 100644
--- a/content/blog/2023/open-bsd-7-3-was-released-today.md
+++ b/content/blog/2023/open-bsd-7-3-was-released-today.md
@@ -1,6 +1,7 @@
---
title: "Open Bsd 7 3 Was Released Today"
-categories: bsd
+categories:
+- blog
abstract: New version was released
date: 2023-04-10T19:12:59+02:00
year: 2023
diff --git a/content/blog/2023/persona-5.md b/content/blog/2023/persona-5.md
index 3b95e48..3abdd71 100644
--- a/content/blog/2023/persona-5.md
+++ b/content/blog/2023/persona-5.md
@@ -1,6 +1,7 @@
---
title: "Persona 5"
-categories: blog
+categories:
+- blog
abstract: my short impressions of this long game.
year: 2023
date: 2023-01-14T19:53:06+01:00
diff --git a/content/blog/2023/receiving-email.md b/content/blog/2023/receiving-email.md
index 56c928f..ee53ae2 100644
--- a/content/blog/2023/receiving-email.md
+++ b/content/blog/2023/receiving-email.md
@@ -1,6 +1,7 @@
---
title: "Receiving Email"
-categories: internet
+categories:
+- blog
abstract: I got my first comments
date: 2023-04-01T09:21:03+02:00
year: 2023
diff --git a/content/blog/2023/reddit-and-the-centralized-web.md b/content/blog/2023/reddit-and-the-centralized-web.md
index 589c658..10d3602 100644
--- a/content/blog/2023/reddit-and-the-centralized-web.md
+++ b/content/blog/2023/reddit-and-the-centralized-web.md
@@ -1,7 +1,7 @@
---
title: Reddit and the centralized Web
categories:
-- article
+- blog
abstract: Reddit is a problem by itself
date: 2023-06-14T11:54:34+02:00
year: 2023
diff --git a/content/blog/2023/so-what.md b/content/blog/2023/so-what.md
index 60b583b..b76e18a 100644
--- a/content/blog/2023/so-what.md
+++ b/content/blog/2023/so-what.md
@@ -1,6 +1,7 @@
---
title: "Music Monday: \"So What\" from \"Four & More\""
-categories: "media"
+categories:
+ - blog
abstract: an up-beat version of the classic
date: 2023-09-25T15:42:29+02:00
year: 2023
diff --git a/content/blog/2023/that-ending-scene-from-kids-on-the-slope.md b/content/blog/2023/that-ending-scene-from-kids-on-the-slope.md
index 141957f..b44117e 100644
--- a/content/blog/2023/that-ending-scene-from-kids-on-the-slope.md
+++ b/content/blog/2023/that-ending-scene-from-kids-on-the-slope.md
@@ -1,6 +1,7 @@
---
title: "That Ending Scene From Kids on the Slope"
-categories: anime
+categories:
+- blog
abstract: A perfect scene from a nearly perfect series
date: 2023-03-19T06:21:46+01:00
year: 2023
diff --git a/content/blog/2023/that-later-scene-from-kids-on-the-slope.md b/content/blog/2023/that-later-scene-from-kids-on-the-slope.md
index eb9d8e0..d9f5dce 100644
--- a/content/blog/2023/that-later-scene-from-kids-on-the-slope.md
+++ b/content/blog/2023/that-later-scene-from-kids-on-the-slope.md
@@ -1,6 +1,7 @@
---
title: "That Later Scene From Kids on the Slope"
-categories: anime
+categories:
+- blog
abstract: Kids on Slope, an japanise anime, sure understands jazz
date: 2023-03-11T06:58:24+01:00
year: 2023
diff --git a/content/blog/2023/that-one-time-when-iron-maiden-played-at-a-polish-wedding.md b/content/blog/2023/that-one-time-when-iron-maiden-played-at-a-polish-wedding.md
index 71df38a..aabb342 100644
--- a/content/blog/2023/that-one-time-when-iron-maiden-played-at-a-polish-wedding.md
+++ b/content/blog/2023/that-one-time-when-iron-maiden-played-at-a-polish-wedding.md
@@ -1,6 +1,7 @@
---
title: "Music Monday: That One Time When Iron Maiden Played at a Polish Wedding"
-categories: varia
+categories:
+- blog
abstract:
date: 2023-02-13T16:41:25+01:00
year:
diff --git a/content/blog/2023/that-scene-from-kids-on-the-slope.md b/content/blog/2023/that-scene-from-kids-on-the-slope.md
index b58d2c6..6b69344 100644
--- a/content/blog/2023/that-scene-from-kids-on-the-slope.md
+++ b/content/blog/2023/that-scene-from-kids-on-the-slope.md
@@ -1,6 +1,7 @@
---
title: "That Scene From Kids on the Slope"
-categories: anime
+categories:
+- blog
abstract: A perfect Jazz scene
date: 2023-03-07T11:51:30+01:00
year: 20023
diff --git a/content/blog/2023/that-scene-from-kids-on-the-slope.md~ b/content/blog/2023/that-scene-from-kids-on-the-slope.md~
deleted file mode 100644
index 6ebc4e7..0000000
--- a/content/blog/2023/that-scene-from-kids-on-the-slope.md~
+++ /dev/null
@@ -1,10 +0,0 @@
----
-title: "That Scene From Kids on the Slope"
-categories: "blog"
-abstract:
-date: 2023-03-07T11:51:30+01:00
-year:
-draft: false
-tags: []
----
-
diff --git a/content/blog/2023/the-true-history-of-vi.md b/content/blog/2023/the-true-history-of-vi.md
index b8d9bf2..bd973c0 100644
--- a/content/blog/2023/the-true-history-of-vi.md
+++ b/content/blog/2023/the-true-history-of-vi.md
@@ -1,6 +1,7 @@
---
title: "The True History of Vi"
-categories: vim
+categories:
+- blog
abstract: A short story about how we got the most important editor of all time
date: 2023-03-01T10:57:34+01:00
year:
diff --git a/content/blog/2023/the-worst-part-of-emacs-after-3-weeks.md b/content/blog/2023/the-worst-part-of-emacs-after-3-weeks.md
index fcd2541..e031b0b 100644
--- a/content/blog/2023/the-worst-part-of-emacs-after-3-weeks.md
+++ b/content/blog/2023/the-worst-part-of-emacs-after-3-weeks.md
@@ -1,6 +1,7 @@
---
title: "The Worst Part of Emacs After 3 Weeks"
-categories: emacs
+categories:
+- blog
abstract: old habbits die hard
date: 2023-02-03T21:23:05+01:00
year: 2023
diff --git a/content/blog/2023/tired-of-blogging.md b/content/blog/2023/tired-of-blogging.md
index 07b4958..2a0332a 100644
--- a/content/blog/2023/tired-of-blogging.md
+++ b/content/blog/2023/tired-of-blogging.md
@@ -1,6 +1,7 @@
---
title: "Tired of Blogging"
-categories: blog
+categories:
+- blot
abstract: Thinking of the web of the past
date: 2023-10-27T12:13:20+02:00
year: 2023
diff --git a/content/blog/2023/tomasz-stanko-music-for-k.md b/content/blog/2023/tomasz-stanko-music-for-k.md
index a8c6709..4179c68 100644
--- a/content/blog/2023/tomasz-stanko-music-for-k.md
+++ b/content/blog/2023/tomasz-stanko-music-for-k.md
@@ -1,6 +1,7 @@
---
title: "Music Monday: Tomasz Stańko - Music for K"
-categories: jazz
+categories:
+- blog
abstract: one of the greatest albums of Polish jazz
date: 2023-02-27T08:26:34+01:00
year: 2023
diff --git a/content/blog/2023/tomasz-stanko-terminal-7.md b/content/blog/2023/tomasz-stanko-terminal-7.md
index 0340bc7..2b4e93a 100644
--- a/content/blog/2023/tomasz-stanko-terminal-7.md
+++ b/content/blog/2023/tomasz-stanko-terminal-7.md
@@ -1,6 +1,7 @@
---
title: "Music Monday: Tomasz Stanko - Terminal 7"
-categories: jazz
+categories:
+- blog
abstract: One of my favorite tracks of all time
date: 2023-03-27T16:44:35+02:00
year:
diff --git a/content/blog/2023/why-does-this-site-exist.md b/content/blog/2023/why-does-this-site-exist.md
index b7e9316..ae929ac 100644
--- a/content/blog/2023/why-does-this-site-exist.md
+++ b/content/blog/2023/why-does-this-site-exist.md
@@ -1,6 +1,7 @@
---
title: "Why Does This Site Exist?"
-categories: meta
+categories:
+- blog
year: 2023
abstract: Necbkeard rants about being a neckbeard.
date: 2023-01-03T13:23:13+01:00
diff --git a/content/blog/2023/zork.md b/content/blog/2023/zork.md
index 20d2449..4c61140 100644
--- a/content/blog/2023/zork.md
+++ b/content/blog/2023/zork.md
@@ -1,6 +1,7 @@
---
title: "Zork's Original Trilogy"
-categories: blog
+categories:
+- blog
abstract: a short intro to classic Zork games
date: 2023-02-18T09:19:52+01:00
year: 2023
diff --git a/content/blog/_index.md b/content/blog/_index.md
index dd3de73..ff8a0e4 100644
--- a/content/blog/_index.md
+++ b/content/blog/_index.md
@@ -5,4 +5,5 @@ draft = false
weight = 1001
abstract = "My e/n blog, est. 2022. Over 200 thingies!"
aliases = ["/toc/"]
+categories = ["blog"]
+++
diff --git a/content/funnies.md b/content/funnies.md
index 7f4cc32..8a6fd79 100644
--- a/content/funnies.md
+++ b/content/funnies.md
@@ -1,6 +1,7 @@
---
title: "Funnies"
-category: "funny"
+categories:
+- null
type: special
abstract: Funny and amusing thingies
date: 2023-11-18T23:22:22+01:00
diff --git a/content/links.md b/content/links.md
index 739e6d8..6ed72fb 100644
--- a/content/links.md
+++ b/content/links.md
@@ -1,6 +1,7 @@
---
title: "Links"
-category: ""
+categories:
+- null
type: "special"
abstract: Places around the web I visit most often
date: 2023-03-09T10:43:53+01:00
diff --git a/content/blog/more/_index.md b/content/more/_index.md
index 8aceaec..291a97c 100644
--- a/content/blog/more/_index.md
+++ b/content/more/_index.md
@@ -1,8 +1,9 @@
+++
title = "More pages"
author = ["Michał Sapka"]
+categories = ["more"]
draft = false
-weight = 1003
+weight = 1002
abstract = "Other things on this blog"
+++
diff --git a/content/blog/about/_index.md b/content/more/about/_index.md
index 1699d0d..2c30f40 100644
--- a/content/blog/about/_index.md
+++ b/content/more/about/_index.md
@@ -1,10 +1,11 @@
+++
title = "About"
author = ["Michał Sapka"]
+categories = ["more"]
draft = false
-weight = 1001
+weight = 1002
abstract = "Some info about me"
-aliases = ["/about/"]
+aliases = ["/about/", "/blog/about/"]
+++
Hey, my name is Michał Sapka.
diff --git a/content/blog/contact/_index.md b/content/more/contact/_index.md
index ce4d5e3..afa266b 100644
--- a/content/blog/contact/_index.md
+++ b/content/more/contact/_index.md
@@ -1,10 +1,11 @@
+++
title = "Contact"
author = ["Michał Sapka"]
+categories = ["more"]
draft = false
-weight = 1005
+weight = 1004
abstract = "How to contact me"
-aliases = ["/contact/", "/me/contact/"]
+aliases = ["/contact/", "/me/contact/", "/blog/contact/"]
+++
## Contact {#contact}
diff --git a/content/blog/now/_index.md b/content/more/now/_index.md
index 432d1e3..9287ccc 100644
--- a/content/blog/now/_index.md
+++ b/content/more/now/_index.md
@@ -1,10 +1,11 @@
+++
title = "Now"
author = ["Michał Sapka"]
+categories = ["more"]
draft = false
-weight = 1004
-abstract = "How to contact me"
-aliases = ["/now/", "/me/now/"]
+weight = 1003
+abstract = "How What I'm up to?"
+aliases = ["/now/", "/me/now/", "/blog/now/"]
+++
## Now {#now}
@@ -42,3 +43,13 @@ My public TODO list:
[Nethack](https://www.nethack.org/) goals:
- reach end of Dungeon of Doom as an elf wizard
+ - DONE Hardware and software I use
+
+CLOSED: <span class="timestamp-wrapper"><span class="timestamp">[2023-11-26 Sun 12:43]</span></span>
+
+:EXPORT_FILE_NAME: uses
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract What is my geat/setup?
+
+This is list of hardware and software I use.
+Note, that I have two PCs (work MacBook and personal ThinkPad).
+I try to address this when applicable.
diff --git a/content/blog/uses/_index.md b/content/more/uses/_index.md
index 7d8a5dd..52c57b8 100644
--- a/content/blog/uses/_index.md
+++ b/content/more/uses/_index.md
@@ -1,10 +1,11 @@
+++
title = "Uses"
author = ["Michał Sapka"]
+categories = ["more"]
draft = false
-weight = 1006
+weight = 1005
abstract = "How to contact me"
-aliases = ["/uses/", "/me/uses/"]
+aliases = ["/uses/", "/me/uses/", "/blog/uses"]
image_dir = "blog/images"
image_max_width = 600
+++
diff --git a/content/stats.md b/content/stats.md
index 92820af..b4b4aa9 100644
--- a/content/stats.md
+++ b/content/stats.md
@@ -1,6 +1,6 @@
---
title: "Site stats"
-category:
+categories:
- site-info
skip-title: true
abstract: Statistics of this site
diff --git a/themes/24-unification/layouts/_default/baseof.html b/themes/24-unification/layouts/_default/baseof.html
index c484d92..0454bf5 100644
--- a/themes/24-unification/layouts/_default/baseof.html
+++ b/themes/24-unification/layouts/_default/baseof.html
@@ -137,6 +137,9 @@
padding: 5px;
box-sizing: border-box;
}
+ > li.active {
+ background-color: var(--button-emph-bg);
+ }
> li:hover {
background-color: var(--button-emph-bg);
}
@@ -146,10 +149,12 @@
}
ol.subsection {
+ display: none;
background-color: var(--panel-color);
box-sizing: border-box;
padding-left: 20px;
border-bottom: var(--cool-border);
+
li {
background-color: var(--panel-color);
border: 0;
@@ -166,132 +171,225 @@
text-align: center;
margin-top: 20px;
}
+
+ li.active ol.subsection {
+ display: block;
+ }
}
-
- @media only screen and (max-width: 800px) {
- .logo {
- display: none;
- }
-
- .nav {
- width: 100%;
- padding-bottom: 20px;;
-
- .nav-box {
- width: 100%;
- border: 0;
- }
-
- ol.section {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- }
-
- ol.subsection {
- display: none;
- }
-
- li {
- flex-shrink: 1;
- border: var(--cool-border)!important;
- padding: 5px;
-
- a {
- width: 100%!important;
- border: 0!important;
- }
- }
- }
-
- .webbuttons {
- display: none;
- }
-
- }
-
- main {
- padding-left: 20px;
- box-sizing: border-box;
+
+ @media only screen and (max-width: 800px) {
+ .logo {
+ display: none;
+ }
+
+ .nav {
+ width: 100%;
+ padding-bottom: 20px;;
+
+ .nav-box {
+ width: 100%;
+ border: 0;
+ }
+
+ ol.section {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ }
+
+ ol.subsection {
+ display: none;
+ }
+
+ li {
+ flex-shrink: 1;
+ border: var(--cool-border)!important;
+ padding: 5px;
+
+ a {
+ width: 100%!important;
+ border: 0!important;
+ }
+ }
+ }
+
+ .webbuttons {
+ display: none;
+ }
- article {
- background-color: var(--panel-color);
- margin-bottom: 20px;
- border: var(--cool-border);
- padding: 20px;
- }
-
- img {
- max-width: 100%;
- height: auto;
-
- }
- }
-
- @media only screen and (max-width: 800px) {
- main {
- padding: 0;
- }
- }
- </style>
+ }
+
+ /* Main */
+ main {
+ padding-left: 20px;
+ box-sizing: border-box;
+ width: 100%;
+
+ article {
+ background-color: var(--panel-color);
+ margin-bottom: 20px;
+ border: var(--cool-border);
+
+ h2 {
+ margin: 0;
+ padding-top: 10px;
+ padding-bottom: 5px;
+ padding-left: 20px;
+ padding-right: 20px;
+
+ }
+ p {
+ padding-left: 20px;
+ padding-right: 20px;
+ text-align: justify;
+ }
+
+ time {
+ padding-left: 20px;
+ padding-right: 20px;
+ }
+
+ > pre, table {
+ padding-left: 20px;
+ padding-right: 20px;
+ overflow-x: scroll;
+ }
+
+ .highlight {
+ padding-left: 20px;
+ padding-right: 20px;
+
+ pre {
+ overflow-x: scroll;
+
+ }
+ }
+
+ aside.post-meta {
+ border-top: var(--cool-border);
+ padding-left: 20px;
+ padding-right: 20px;
+ padding-top: 5px;
+ padding-bottom: 5px;
+ background-color: var(--panel-meta-color);
+ }
+
+ figure {
+ text-align: center;
+ margin: 0;
+ max-width: 100%;
+ font-size: 0.8em;
+ }
+
+ img.float-right {
+ float: right;
+ display: inline;
+ margin-left: 10px;
+ }
+
+ img.center {
+ max-width: 100%;
+ height: auto;
+ }
+
+ .pull-left {
+ float: left;
+ margin: 10px;
+ }
+
+ .pull-right {
+ float: right;
+ margin: 10px;
+ }
+ }
+ article.link {
+ padding: 20px;
+ display: flex;
+ justify-content: center;
+
+ time {
+ padding-left: 0;;
+ }
+ .img {
+ padding-right: 20px;
+ flex-grow: 0;
+ height: 32px;
+ width: 32px;
+ }
+ .text {
+ flex-grow: 1;
+ }
+ }
+ }
+
+ img {
+ max-width: 100%;
+ height: auto;
+
+ }
+
+ .blog-pages-list {
+ border: var(--cool-border);
+ margin-bottom: 20px;
+ padding: 20px;
+ background-color: var(--panel-color);
+ }
+}
+
+ @media only screen and (max-width: 800px) {
+ main {
+ padding: 0;
+ }
+ }
+ </style>
</head>
<body>
- <nav class="nav">
+ <nav class="nav">
-<div class="nav-box">
- <div class="logo">
- {{ partial "blog/face-game.html" . }}
- </div>
-
-
- {{- with index site.Menus "sections" }}
- <ol class="section">
- <li class="name"><a href="/"><b>CRYS</b>SITE</a></li>
-
- {{- range . }}
-{{ . }}
- <li><a href="{{ .URL }}">{{ .Name }}</a>
+ <div class="nav-box">
+ <div class="logo">
+ {{ partial "blog/face-game.html" . }}
+ </div>
+
+ {{ $page := . }}
+ {{- with index site.Menus "sections" }}
+ <ol class="section">
+ <li class="name"><a href="/"><b>CRYS</b>SITE</a></li>
+ {{- range . }}
+ <li
+ {{ $sectionSlice := slice .Params.section}}
+ {{ if intersect $page.Params.Categories $sectionSlice}}
+ class="active"
+ {{ end }}
+
+ ><a href="{{ .URL }}">{{ .Name }}</a>
{{- with index site.Menus .Params.submenu }}
<ol class="subsection">
- {{- range .}}
- <li><a href="{{ .URL}}">{{ .Name }}</a></li>
+ {{- range .}}
+ <li><a href="{{ .URL}}">{{ .Name }}</a></li>
+ {{- end}}
+ </ol>
+
+ {{- end}}
+ </li>
+
{{- end}}
</ol>
-
{{- end}}
- </li>
-
- {{- end}}
- </ol>
- {{- end}}
-
- <!-- <li class="active"><a href="/blog">Blog</a> -->
- <!-- <ol class="subsection"> -->
- <!-- <li>Archive -->
- <!-- <ol> -->
- <!-- <li><a href="/blog/2024">2024</a></li> -->
- <!-- <li><a href="/blog/2024">2024</a></li> -->
- <!-- <li><a href="/blog/2024">2024</a></li> -->
- <!-- </ol> -->
- <!-- </ol> -->
- <!-- </li> -->
+
+ </div>
+
+ <div class="webbuttons">
+ {{ partial "button-31" (dict "file" "rss.gif" "alt" "RSS Feed" "href" "https://michal.sapka.me/blog/index.xml") }}
+ </div>
-</div>
-
- <div class="webbuttons">
- {{ partial "button-31" (dict "file" "rss.gif" "alt" "RSS Feed" "href" "https://michal.sapka.me/blog/index.xml") }}
- {{ partial "button-31" (dict "file" "openbsd.gif" "alt" "RSS Feed" "href" "https://michal.sapka.me/blog/index.xml") }}
- {{ partial "button-31" (dict "file" "openbsd.gif" "alt" "RSS Feed" "href" "https://michal.sapka.me/blog/index.xml") }}
- {{ partial "button-31" (dict "file" "openbsd.gif" "alt" "RSS Feed" "href" "https://michal.sapka.me/blog/index.xml") }}
- </div>
+ </nav>
- </nav>
-
- <main>
- {{ block "main" . }}
- {{ end }}
- </main>
-</body>
+ <main>
+ {{ block "main" . }}
+ {{ end }}
+ </main>
+ </body>