summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.toml33
l---------content-org/.#bsd.org1
l---------content-org/.#me.org1
-rw-r--r--content-org/bsd.org37
-rw-r--r--content/bsd/blocking-bad-bots-openbsd.md2
-rw-r--r--content/bsd/desktop-freebsd-wont-improve-unless-people-are-using-it.md3
-rw-r--r--content/bsd/early-freebsd-thoughts.md3
-rw-r--r--content/bsd/history/01_multics.md4
-rw-r--r--content/bsd/history/02_unix.md4
-rw-r--r--content/bsd/history/_index.md6
-rw-r--r--content/bsd/jails-usage-examples.md3
-rw-r--r--content/bsd/moved-to-openbsd.md3
-rw-r--r--content/bsd/open-bsd-web-stack.md3
-rw-r--r--content/bsd/relayd-custom-webserver.md2
-rw-r--r--content/bsd/thinkpad/fixing-resume-on-thinkpad-x1-extreme-g2-on-freebsd.md3
-rw-r--r--content/bsd/thinkpad/fixing-thinkpad-x1-wifi-on-freebsd.md3
-rw-r--r--content/bsd/thinkpad/freebsd-configuring-nvidia-and-xorg-on-thinkpad-x1-extreme-g2.md3
-rw-r--r--content/bsd/thinkpad/freebsd-on-thinkpad-x1-extreme-g2.md3
-rw-r--r--content/bsd/thinkpad/switching-between-speakers-and-headphones-on-freebsd.md3
-rw-r--r--layouts/_default/index.html5
l---------layouts/partials/.#menu.html1
-rw-r--r--layouts/partials/homepage/bsd.html16
-rw-r--r--layouts/partials/menu.html34
-rw-r--r--static/style.css11
24 files changed, 149 insertions, 38 deletions
diff --git a/config.toml b/config.toml
index 632f826..cb8269a 100644
--- a/config.toml
+++ b/config.toml
@@ -56,6 +56,39 @@ enableGitInfo = true
[[menu.bsd-history.params]]
placeholder = "yes"
+[[menu.bsd]]
+ name = "FreeBSD"
+ weight = "10000020"
+ pageRef = "/"
+ identifier = "freebsd"
+ [[menu.bsd.params]]
+ nonpage = "yes"
+
+[[menu.bsd]]
+ name = "Thinkpad"
+ weight = "10000030"
+ pageRef = "/"
+ identifier = "tp"
+ parent = "freebsd"
+ [[menu.bsd.params]]
+ nonpage = "yes"
+
+[[menu.bsd]]
+ name = "OpenBSD"
+ weight = "10000030"
+ pageRef = "/"
+ identifier = "openbsd"
+ [[menu.bsd.params]]
+ nonpage = "yes"
+
+[[menu.bsd]]
+ name = "Varia"
+ weight = "10000030"
+ pageRef = "/"
+ identifier = "varia"
+ [[menu.bsd.params]]
+ nonpage = "yes"
+
# categories:P
# - emacs
diff --git a/content-org/.#bsd.org b/content-org/.#bsd.org
deleted file mode 120000
index f109860..0000000
--- a/content-org/.#bsd.org
+++ /dev/null
@@ -1 +0,0 @@
-mms@voyager.2470:1712135685 \ No newline at end of file
diff --git a/content-org/.#me.org b/content-org/.#me.org
deleted file mode 120000
index f109860..0000000
--- a/content-org/.#me.org
+++ /dev/null
@@ -1 +0,0 @@
-mms@voyager.2470:1712135685 \ No newline at end of file
diff --git a/content-org/bsd.org b/content-org/bsd.org
index f1bbfb3..15976d7 100644
--- a/content-org/bsd.org
+++ b/content-org/bsd.org
@@ -77,12 +77,15 @@ Sometimes I write non-technical articles on technical subjects:
FreeBSD
#+end_menu
* OpenBSD :@bsd:
+:PROPERTIES:
+:EXPORT_HUGO_MENU: :menu bsd :parent "openbsd"
+ :END:
** DONE OpenBSD webstack: Relayd, Httpd and Acme-client
CLOSED: [2023-07-19 Mon 19:08]
:PROPERTIES:
:EXPORT_FILE_NAME: open-bsd-web-stack
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract How to setup the web server stack work?
-:EXPORT_HUGO_MENU: :menu bsd-openbsd :identifier "obsdweb" :name "Webstack: Relayd, Httpd and Acme-Client"
+:EXPORT_HUGO_MENU_OVERRIDE: :identifier "obsdweb" :name "Webstack: Relayd, Httpd and Acme-Client"
:END:
OpenBSD comes with three great tools out of the box:
- httpd(8) - an HTTP daemon
@@ -317,7 +320,7 @@ CLOSED: [2023-12-11 Mon 19:08]
:PROPERTIES:
:EXPORT_FILE_NAME: blocking-bad-bots-openbsd
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract How do I fight bad crawlers?
-:EXPORT_HUGO_MENU: :menu bsd-openbsd :parent "obsdweb" :name "Blocking bad bots using Relayd"
+:EXPORT_HUGO_MENU_OVERRIDE: :parent "obsdweb" :name "Blocking bad bots using Relayd"
:END:
The bane of existence for most of small pages: web crawlers.
@@ -383,7 +386,7 @@ CLOSED: [2023-07-19 Mon 19:30]
:PROPERTIES:
:EXPORT_FILE_NAME: relayd-custom-webserver
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract How to forward request to webserver?
-:EXPORT_HUGO_MENU: :menu bsd-openbsd :parent "obsdweb" :name "Forwarding requests from Relayd to a custom webserver"
+:EXPORT_HUGO_MENU_OVERRIDE: :parent "obsdweb" :name "Forwarding requests from Relayd to a custom webserver"
:END:
One thing that OpenBSD doesn't provide (yet?) is an HTTP proxy.
I use [[https://plausible.io/][[Plausible]][fn:nope] for basic visitor analytics [fn:privacy] here, and one of the cool things you can do is to break all adblockers via serving Plausible from my own domain[fn:adblock]
@@ -446,7 +449,7 @@ CLOSED: [2023-07-19 Mon 22:47]
:PROPERTIES:
:EXPORT_FILE_NAME: moved-to-openbsd
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract A short info on OpenBSD Amsterdam
-:EXPORT_HUGO_MENU: :menu bsd-openbsd :name "Moved to OpenBSD"
+:EXPORT_HUGO_MENU_OVERRIDE: :name "Moved to OpenBSD"
:EXPORT_HUGO_PAIRED_SHORTCODES: img-r
:END:
@@ -535,12 +538,15 @@ In reality, I'm test-driving it on my laptop and have much fewer problems than w
Screw them.
They have almost all of the interwebs in their server farm, but they will not have this blog!
* FreeBSD :@bsd:
+ :PROPERTIES:
+:EXPORT_HUGO_MENU: :menu bsd :parent "freebsd"
+ :END:
** DONE FreeBSD: examples of Jail usage
CLOSED: [2023-12- Mon 21:29]
:PROPERTIES:
:EXPORT_FILE_NAME: jails-usage-examples
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract How can we use FreeBSD Jails?
-:EXPORT_HUGO_MENU: :menu bsd-freebsd :name "Some examples of using Jails"
+:EXPORT_HUGO_MENU_OVERRIDE: :name "Some examples of using Jails"
:END:
Creating Jails in FreeBSD is very easy.
It takes few minutes to follow the [[https://docs.freebsd.org/en/books/handbook/jails/][official handbook]] and voilà!
@@ -684,13 +690,14 @@ Our tinfoil friends will be proud of us.
* Thinkpad :@bsd:
:PROPERTIES:
:EXPORT_HUGO_SECTION: bsd/thinkpad
+:EXPORT_HUGO_MENU: :menu bsd :parent "tp"
:END:
** DONE FreeBSD: Review of Thinkpad Extreme G2
CLOSED: [2023-02-25 Mon 22:30]
:PROPERTIES:
:EXPORT_FILE_NAME: freebsd-on-thinkpad-x1-extreme-g2
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract it works, but there are drawbacks
-:EXPORT_HUGO_MENU: :menu bsd-thinkpad :name "Impressions, Instalation and problems"
+:EXPORT_HUGO_MENU_OVERRIDE: :name "Impressions, Instalation and problems"
:EXPORT_HUGO_PAIRED_SHORTCODES: img-c img-r
:END:
My wife got a new computer, so I can easily break my laptop whenever I want - so it's time for FreeBSD!
@@ -779,7 +786,7 @@ CLOSED: [2023-08-03 Mon 21:40]
:PROPERTIES:
:EXPORT_FILE_NAME: fixing-thinkpad-x1-wifi-on-freebsd
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract replacing a wificard fixes everything
-:EXPORT_HUGO_MENU: :menu bsd-thinkpad :name "Fixing WiFi for good"
+:EXPORT_HUGO_MENU_OVERRIDE: :name "Fixing WiFi for good"
:EXPORT_HUGO_PAIRED_SHORTCODES: img-c
:END:
@@ -841,7 +848,7 @@ CLOSED: [2023-03-16 Mon 23:02]
:PROPERTIES:
:EXPORT_FILE_NAME: switching-between-speakers-and-headphones-on-freebsd
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract How to change the audio sevices?
-:EXPORT_HUGO_MENU: :menu bsd-thinkpad :name "Switching beteen headphnes and speakers"
+:EXPORT_HUGO_MENU_OVERRIDE: :name "Switching beteen headphnes and speakers"
:END:
I want my laptop to switch to wired headphones when I attach them.
FreeBSD has its own [[https://wiki.freebsd.org/Sound][Sound System]], so it's a great learning experience.
@@ -890,7 +897,7 @@ CLOSED: [2023-03-16 Mon 23:02]
:PROPERTIES:
:EXPORT_FILE_NAME: fixing-resume-on-thinkpad-x1-extreme-g2-on-freebsd
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract you need to load the driver
-:EXPORT_HUGO_MENU: :menu bsd-thinkpad :name "Fixing resume due to Intel driver"
+:EXPORT_HUGO_MENU_OVERRIDE: :name "Fixing resume due to Intel driver"
:END:
*This applies to FreeBSD 13.1*
@@ -927,7 +934,7 @@ CLOSED: [2023-03-16 Mon 23:02]
:PROPERTIES:
:EXPORT_FILE_NAME: freebsd-configuring-nvidia-and-xorg-on-thinkpad-x1-extreme-g2
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract A tutorial on making Nvidia work
-:EXPORT_HUGO_MENU: :menu bsd-thinkpad :name "Setting up Nvidia"
+# :EXPORT_HUGO_MENU_OVERRIDE: :name "Setting up Nvidia"
:END:
First, the bad news: I could not make FreeBSD work with Hybrid Graphics, so I use only the discrete one.
To ensure this, open BIOS and:
@@ -1004,8 +1011,9 @@ I learned the BUS trick from [[https://nudesystems.com/how-to-fix-no-screen-foun
CLOSED: [2024-04-08 Mon 09:37]
:PROPERTIES:
:EXPORT_FILE_NAME: _index
-:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: abstract BSD history starts with Multics
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: abstract the long and turbolent history
:EXPORT_HUGO_PAIRED_SHORTCODES: menu img-r
+:EXPORT_HUGO_MENU: :menu bsd
:END:
Does computer history have any real appliance?
@@ -1232,12 +1240,15 @@ Lawyers.
[fn:lcm] [[https://livingcomputers.org/Blog/Restoring-UNIX-v0-on-a-PDP-7-A-look-behind-the-sce.aspx][Living Computer Museum]] has a real PDP-7 running /PDP Unix/ if want to chek it.
* Varia :@bsd:
+:PROPERTIES:
+:EXPORT_HUGO_MENU: :menu bsd :parent "varia"
+:END:
** DONE FreeBSD: Early thoughts
CLOSED: [2023-02-15 Mon 21:12]
:PROPERTIES:
:EXPORT_FILE_NAME: early-freebsd-thoughts
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract I've been using FreeBSD on my server for the last few weeks and I like it!
-:EXPORT_HUGO_MENU: :menu bsd-varia :name "FreeBSD: early thoughts"
+:EXPORT_HUGO_MENU_OVERRIDE: :name "FreeBSD: early thoughts"
:EXPORT_HUGO_PAIRED_SHORTCODES: img-r img-c
:END:
I'm leaning more and more towards joining the [[https://www.freebsd.org/][FreeBSD]] crowd.
@@ -1311,7 +1322,7 @@ CLOSED: [2023-03-29 Mon 22:09]
:PROPERTIES:
:EXPORT_FILE_NAME: desktop-freebsd-wont-improve-unless-people-are-using-it
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: abstract I have hits from /r/bsd, but almost none of those people are using BSD
-:EXPORT_HUGO_MENU: :menu bsd-varia :name "Desktop FreeBSD won't improve unless people are using it"
+:EXPORT_HUGO_MENU_OVERRIDE: :name "Desktop FreeBSD won't improve unless people are using it"
:EXPORT_HUGO_PAIRED_SHORTCODES: img-r img-c
:END:
Shamelessly, I posted my previous post, [[https://d-s.sh/2023/freebsd-on-thinkpad-x1-extreme-g2/][FreeBSD on a Thinkpad Extreme G2]] on [[https://www.reddit.com/r/BSD/comments/124v5cm/freebsd_on_a_thinkpad_x1_extreme_g2/][/r/bsd Reddit]].
diff --git a/content/bsd/blocking-bad-bots-openbsd.md b/content/bsd/blocking-bad-bots-openbsd.md
index 51ed5ec..445fabb 100644
--- a/content/bsd/blocking-bad-bots-openbsd.md
+++ b/content/bsd/blocking-bad-bots-openbsd.md
@@ -7,7 +7,7 @@ draft = false
weight = 2002
abstract = "How do I fight bad crawlers?"
[menu]
- [menu.bsd-openbsd]
+ [menu.bsd]
weight = 2002
identifier = "openbsd-blocking-bad-bots-using-relayd"
parent = "obsdweb"
diff --git a/content/bsd/desktop-freebsd-wont-improve-unless-people-are-using-it.md b/content/bsd/desktop-freebsd-wont-improve-unless-people-are-using-it.md
index 723c82c..90dc4c0 100644
--- a/content/bsd/desktop-freebsd-wont-improve-unless-people-are-using-it.md
+++ b/content/bsd/desktop-freebsd-wont-improve-unless-people-are-using-it.md
@@ -7,9 +7,10 @@ draft = false
weight = 2002
abstract = "I have hits from /r/bsd, but almost none of those people are using BSD"
[menu]
- [menu.bsd-varia]
+ [menu.bsd]
weight = 2002
identifier = "freebsd-on-the-desktop-won-t-improvide-unless-people-are-using-it"
+ parent = "varia"
name = "Desktop FreeBSD won't improve unless people are using it"
+++
diff --git a/content/bsd/early-freebsd-thoughts.md b/content/bsd/early-freebsd-thoughts.md
index 123cab2..e08d24d 100644
--- a/content/bsd/early-freebsd-thoughts.md
+++ b/content/bsd/early-freebsd-thoughts.md
@@ -7,9 +7,10 @@ draft = false
weight = 2001
abstract = "I've been using FreeBSD on my server for the last few weeks and I like it!"
[menu]
- [menu.bsd-varia]
+ [menu.bsd]
weight = 2001
identifier = "freebsd-early-thoughts"
+ parent = "varia"
name = "FreeBSD: early thoughts"
+++
diff --git a/content/bsd/history/01_multics.md b/content/bsd/history/01_multics.md
index 169db3b..27d809a 100644
--- a/content/bsd/history/01_multics.md
+++ b/content/bsd/history/01_multics.md
@@ -4,12 +4,12 @@ author = ["Michał Sapka"]
date = 2024-03-09T21:03:00+01:00
categories = ["bsd"]
draft = false
-weight = 2001
+weight = 2002
hasNavSection = "bsd-history abstract BSD history starts with Multics"
shortname = "Part I: Multics"
[menu]
[menu.bsd-history]
- weight = 2001
+ weight = 2002
identifier = "history-of-bsd-part-i-multics"
name = "Multics"
+++
diff --git a/content/bsd/history/02_unix.md b/content/bsd/history/02_unix.md
index 3f1abc9..4178cee 100644
--- a/content/bsd/history/02_unix.md
+++ b/content/bsd/history/02_unix.md
@@ -4,13 +4,13 @@ author = ["Michał Sapka"]
date = 2024-03-16T21:00:00+01:00
categories = ["bsd"]
draft = false
-weight = 2002
+weight = 2003
hasNavSection = "bsd-history"
abstract = "How Unix came to be?"
shortname = "Part II: Unix"
[menu]
[menu.bsd-history]
- weight = 2002
+ weight = 2003
identifier = "history-of-bsd-part-ii-unix"
name = "Unix"
+++
diff --git a/content/bsd/history/_index.md b/content/bsd/history/_index.md
index 41ee1fe..6e4a93c 100644
--- a/content/bsd/history/_index.md
+++ b/content/bsd/history/_index.md
@@ -5,7 +5,11 @@ date = 2024-04-08T09:37:00+02:00
categories = ["bsd"]
draft = false
weight = 2001
-hasNavSection = "bsd-history abstract BSD history starts with Multics"
+hasNavSection = "bsd-history abstract the long and turbolent history"
+[menu]
+ [menu.bsd]
+ weight = 2001
+ identifier = "history-of-bsd-and-unix"
+++
Does computer history have any real appliance?
diff --git a/content/bsd/jails-usage-examples.md b/content/bsd/jails-usage-examples.md
index 6b37762..43ed420 100644
--- a/content/bsd/jails-usage-examples.md
+++ b/content/bsd/jails-usage-examples.md
@@ -6,9 +6,10 @@ draft = false
weight = 2001
abstract = "How can we use FreeBSD Jails?"
[menu]
- [menu.bsd-freebsd]
+ [menu.bsd]
weight = 2001
identifier = "freebsd-examples-of-jail-usage"
+ parent = "freebsd"
name = "Some examples of using Jails"
+++
diff --git a/content/bsd/moved-to-openbsd.md b/content/bsd/moved-to-openbsd.md
index bdd1b02..110678c 100644
--- a/content/bsd/moved-to-openbsd.md
+++ b/content/bsd/moved-to-openbsd.md
@@ -7,9 +7,10 @@ draft = false
weight = 2004
abstract = "A short info on OpenBSD Amsterdam"
[menu]
- [menu.bsd-openbsd]
+ [menu.bsd]
weight = 2004
identifier = "openbsd-live-from-openbsd-in-amsterdam"
+ parent = "openbsd"
name = "Moved to OpenBSD"
+++
diff --git a/content/bsd/open-bsd-web-stack.md b/content/bsd/open-bsd-web-stack.md
index 8e7b38e..9ce4e0a 100644
--- a/content/bsd/open-bsd-web-stack.md
+++ b/content/bsd/open-bsd-web-stack.md
@@ -7,8 +7,9 @@ draft = false
weight = 2001
abstract = "How to setup the web server stack work?"
[menu]
- [menu.bsd-openbsd]
+ [menu.bsd]
weight = 2001
+ parent = "openbsd"
identifier = "obsdweb"
name = "Webstack: Relayd, Httpd and Acme-Client"
+++
diff --git a/content/bsd/relayd-custom-webserver.md b/content/bsd/relayd-custom-webserver.md
index 0a5de64..fdafc67 100644
--- a/content/bsd/relayd-custom-webserver.md
+++ b/content/bsd/relayd-custom-webserver.md
@@ -7,7 +7,7 @@ draft = false
weight = 2003
abstract = "How to forward request to webserver?"
[menu]
- [menu.bsd-openbsd]
+ [menu.bsd]
weight = 2003
identifier = "openbsd-forwarding-requests-from-relayd-to-a-custom-webserver"
parent = "obsdweb"
diff --git a/content/bsd/thinkpad/fixing-resume-on-thinkpad-x1-extreme-g2-on-freebsd.md b/content/bsd/thinkpad/fixing-resume-on-thinkpad-x1-extreme-g2-on-freebsd.md
index 005a639..2787173 100644
--- a/content/bsd/thinkpad/fixing-resume-on-thinkpad-x1-extreme-g2-on-freebsd.md
+++ b/content/bsd/thinkpad/fixing-resume-on-thinkpad-x1-extreme-g2-on-freebsd.md
@@ -7,9 +7,10 @@ draft = false
weight = 2004
abstract = "you need to load the driver"
[menu]
- [menu.bsd-thinkpad]
+ [menu.bsd]
weight = 2004
identifier = "freebsd-fixing-resume-on-thinkpad-x1-extreme-g2-due-to-integrated-graphic-card"
+ parent = "tp"
name = "Fixing resume due to Intel driver"
+++
diff --git a/content/bsd/thinkpad/fixing-thinkpad-x1-wifi-on-freebsd.md b/content/bsd/thinkpad/fixing-thinkpad-x1-wifi-on-freebsd.md
index e196d09..015b5cb 100644
--- a/content/bsd/thinkpad/fixing-thinkpad-x1-wifi-on-freebsd.md
+++ b/content/bsd/thinkpad/fixing-thinkpad-x1-wifi-on-freebsd.md
@@ -7,9 +7,10 @@ draft = false
weight = 2002
abstract = "replacing a wificard fixes everything"
[menu]
- [menu.bsd-thinkpad]
+ [menu.bsd]
weight = 2002
identifier = "freebsd-fixing-thinkpad-x1-wifi"
+ parent = "tp"
name = "Fixing WiFi for good"
+++
diff --git a/content/bsd/thinkpad/freebsd-configuring-nvidia-and-xorg-on-thinkpad-x1-extreme-g2.md b/content/bsd/thinkpad/freebsd-configuring-nvidia-and-xorg-on-thinkpad-x1-extreme-g2.md
index a9e815d..58fedc4 100644
--- a/content/bsd/thinkpad/freebsd-configuring-nvidia-and-xorg-on-thinkpad-x1-extreme-g2.md
+++ b/content/bsd/thinkpad/freebsd-configuring-nvidia-and-xorg-on-thinkpad-x1-extreme-g2.md
@@ -7,9 +7,10 @@ draft = false
weight = 2005
abstract = "A tutorial on making Nvidia work"
[menu]
- [menu.bsd-thinkpad]
+ [menu.bsd]
weight = 2005
identifier = "freebsd-configuring-nvidia-and-xorg"
+ parent = "tp"
name = "Setting up Nvidia"
+++
diff --git a/content/bsd/thinkpad/freebsd-on-thinkpad-x1-extreme-g2.md b/content/bsd/thinkpad/freebsd-on-thinkpad-x1-extreme-g2.md
index 627a00a..15b24b8 100644
--- a/content/bsd/thinkpad/freebsd-on-thinkpad-x1-extreme-g2.md
+++ b/content/bsd/thinkpad/freebsd-on-thinkpad-x1-extreme-g2.md
@@ -7,9 +7,10 @@ draft = false
weight = 2001
abstract = "it works, but there are drawbacks"
[menu]
- [menu.bsd-thinkpad]
+ [menu.bsd]
weight = 2001
identifier = "freebsd-review-of-thinkpad-extreme-g2"
+ parent = "tp"
name = "Impressions, Instalation and problems"
+++
diff --git a/content/bsd/thinkpad/switching-between-speakers-and-headphones-on-freebsd.md b/content/bsd/thinkpad/switching-between-speakers-and-headphones-on-freebsd.md
index 3a0c37d..081385b 100644
--- a/content/bsd/thinkpad/switching-between-speakers-and-headphones-on-freebsd.md
+++ b/content/bsd/thinkpad/switching-between-speakers-and-headphones-on-freebsd.md
@@ -7,9 +7,10 @@ draft = false
weight = 2003
abstract = "How to change the audio sevices?"
[menu]
- [menu.bsd-thinkpad]
+ [menu.bsd]
weight = 2003
identifier = "freebsd-switching-between-speakers-and-headphones"
+ parent = "tp"
name = "Switching beteen headphnes and speakers"
+++
diff --git a/layouts/_default/index.html b/layouts/_default/index.html
index 3acf34a..9dc6df3 100644
--- a/layouts/_default/index.html
+++ b/layouts/_default/index.html
@@ -27,12 +27,15 @@ Hey! I'm Michał Sapka, a computer programmer living in Kraków, Poland. This we
{{ end }}
<p><a href="/all_updates">&raquo; All updates</a><BR>
<a href="/blog/">&raquo; Go to blog</a></p>
+
+ {{ partial "partials/homepage/bsd.html" . }}
+
<h2>Sections</h2>
<nav>
<P><a class="sec-link" href="/blog/"><b>Blog</b>: my shorter publications withount any theme. You can treat it as E/N site.</a> </p>
<P><a class="sec-link" href="/articles/"><b>Articles</b>: longer publications that don't fit blog or any other category.</a> </p>
- <P><a class="sec-link" href="/bsd/"><b>BSD site</b>: my writings on Berkley Standard Distribution flavors. Those are the OSes I use on the daily basis.</a> </p>
+
<P><a class="sec-link" href="/emacs/"><b>C-X Emacs</b>: this is my Emacs. There are many like it, but this one is mine. My Emacs is my best friend. It is my life.</a> </p>
<P><a class="sec-link" href="/star-trek/"><b>Star Trek fan site</b>: my little shrine to the greatest american Sci-Fi that has ever graced our screens.</a> </p>
<P><a class="sec-link" href="/funnies/"><b>Funnies</b>: A small, curated collection of things I found funny or ammusing.</a> </p>
diff --git a/layouts/partials/.#menu.html b/layouts/partials/.#menu.html
new file mode 120000
index 0000000..d0039d2
--- /dev/null
+++ b/layouts/partials/.#menu.html
@@ -0,0 +1 @@
+mms@voyager.83459:1712135685 \ No newline at end of file
diff --git a/layouts/partials/homepage/bsd.html b/layouts/partials/homepage/bsd.html
new file mode 100644
index 0000000..892c62f
--- /dev/null
+++ b/layouts/partials/homepage/bsd.html
@@ -0,0 +1,16 @@
+{{- $file := "freebsd-beastie.png" }}
+{{- $path := printf "content_images/%s" $file}}
+{{- $img := resources.Get $path }}
+{{- $img1x := $img.Resize "150x webp" }}
+{{- $img2x := $img.Resize "300x webp" }}
+
+
+
+<section class="bsd">
+
+
+ <h2 id="bsd">Berkeley Software Distribution</h2>
+ Some articles on the BSD family of Operating Systems I use
+ {{ partial "menu.html" (dict "menuID" "bsd" "page" .) }}
+</section>
+
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
new file mode 100644
index 0000000..0773944
--- /dev/null
+++ b/layouts/partials/menu.html
@@ -0,0 +1,34 @@
+{{- $page := .page }}
+{{- $menuID := .menuID }}
+
+{{- with index site.Menus $menuID }}
+ <nav>
+ <ul>
+ {{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
+ </ul>
+ </nav>
+{{- end }}
+
+{{- define "partials/inline/menu/walk.html" }}
+ {{- $page := .page }}
+ {{- range .menuEntries }}
+
+
+ {{ if .Params.nonpage }}
+ <li>{{.Name }}
+ {{else if .Params.placeholder }}
+ <li class="placeholder">{{.Name }}
+ {{else}}
+ <li><b><a href="{{ .URL }}">{{ .Name }}</b></a>
+ {{end}}
+
+
+ {{- with .Children }}
+ <ul>
+ {{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
+ </ul>
+ {{- end }}
+ </li>
+ {{- end }}
+{{- end }}
+
diff --git a/static/style.css b/static/style.css
index 335975f..968ad10 100644
--- a/static/style.css
+++ b/static/style.css
@@ -415,11 +415,12 @@ article.blog-post-item > nav {
/* emacs_article_end */
/* bss_article_start */
- body.bsd h2 { color: var(--bsd-h2-color); border-color: var(--bsd-h2-color) }
- body.bsd h3 { color: var(--bsd-h2-color); border-color: var(--bsd-h2-color) }
- body.bsd h4 { color: var(--bsd-h2-color); border-color: var(--bsd-h2-color) }
- body.bsd h5 { color: var(--bsd-h2-color); border-color: var(--bsd-h2-color) }
- body.bsd h6 { color: var(--bsd-h2-color); border-color: var(--bsd-h2-color) }
+ .bsd h2 { color: var(--bsd-h2-color); border-color: var(--bsd-h2-color) }
+ .bsd h3 { color: var(--bsd-h2-color); border-color: var(--bsd-h2-color) }
+ .bsd h4 { color: var(--bsd-h2-color); border-color: var(--bsd-h2-color) }
+ .bsd h5 { color: var(--bsd-h2-color); border-color: var(--bsd-h2-color) }
+ .bsd h6 { color: var(--bsd-h2-color); border-color: var(--bsd-h2-color) }
+ .bsd nav a { color: var(--bsd-highlight-color}; }
/* emacs_article_end */
/* emacs_article_start */