From 6ce8f79d3b5f6e2d724204e3bcb504b2e7bcb306 Mon Sep 17 00:00:00 2001 From: frosty Date: Wed, 4 Jun 2025 17:06:54 -0400 Subject: remove a few pages, move blog into posts, and add first status update --- archetypes/default.md | 10 +++++----- content/about.md | 20 +------------------- content/blog/2025-05-19-hello-world.md | 11 ----------- content/now.md | 21 --------------------- content/posts/hello-world.md | 11 +++++++++++ content/posts/status-update-may-2025.md | 14 ++++++++++++++ content/todo.md | 8 -------- hugo.toml | 10 ---------- layouts/partials/footer.html | 6 +++--- themes/polaris/assets/css/style.css | 4 ++++ themes/polaris/layouts/_default/home.html | 1 - themes/polaris/layouts/partials/posts.html | 12 +++++------- 12 files changed, 43 insertions(+), 85 deletions(-) delete mode 100644 content/blog/2025-05-19-hello-world.md delete mode 100644 content/now.md create mode 100644 content/posts/hello-world.md create mode 100644 content/posts/status-update-may-2025.md delete mode 100644 content/todo.md diff --git a/archetypes/default.md b/archetypes/default.md index 25b6752..9a72f3b 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,5 +1,5 @@ -+++ -date = '{{ .Date }}' -draft = true -title = '{{ replace .File.ContentBaseName "-" " " | title }}' -+++ +--- +date: '{{ time.Now.Format "2006-01-02" }}' +draft: true +title: '{{ replace .File.ContentBaseName `-` ` ` | title }}' +--- diff --git a/content/about.md b/content/about.md index ae56b47..6e022f7 100644 --- a/content/about.md +++ b/content/about.md @@ -6,22 +6,4 @@ Hi there, I'm frosty. I'm primarily interested in meteorology, systems administr I don't consider myself a software developer, but I do write some code here and there. My favorite languages are C and Go, and I much prefer backend to frontend. -## Website - -This website was created by hand in Vim and built with Hugo. It's quite simple, and I've made my own theme for myself. Sources of inspiration for the styling are: [sourcehut][srht], [suckless.org][suckless], and [ZNC's dark-clouds theme][dark-clouds]. - -Below is a list of resources that I found helpful in developing this website: - -* [Hugo Documentation][hugo-docs] -* [Hugo Mini Course][hugo-mini-course] -* [systemfontstack][systemfontstack] -* [google webfonts helper][google-webfonts-helper] - -[srht]: https://sr.ht/ -[suckless]: https://suckless.org/ -[dark-clouds]: https://wiki.znc.in/File:Webadmin-settings-dark-clouds.png - -[systemfontstack]: https://systemfontstack.com/ -[google-webfonts-helper]: https://gwfh.mranftl.com/fonts -[hugo-mini-course]: https://hugo-mini-course.netlify.app/ -[hugo-docs]: https://gohugo.io/documentation/ +Contact details will be added soon. diff --git a/content/blog/2025-05-19-hello-world.md b/content/blog/2025-05-19-hello-world.md deleted file mode 100644 index f80d9fe..0000000 --- a/content/blog/2025-05-19-hello-world.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: "Hello, World!" -date: "2025-05-19" ---- - -Hello and welcome! This is an introduction to my website. For the time being, you can read more [about me][about], or check up on what's up with me [right now][now]. - -That's all I've got at the moment, see you soon! - -[about]: /about.html -[now]: /now.html diff --git a/content/now.md b/content/now.md deleted file mode 100644 index 3b973e0..0000000 --- a/content/now.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: "Now" -date: "2025-05-19" -layout: "now" ---- - -* I've made it, I can call myself a high school graduate! A blog post about this is in the works. -* My primary focus has been managing self-hosted servers (at home and on VPSes); both to gain experience and for the convenience and control of having my own infrastructure. -* Recently, I got the itch to create a proper website for myself, after telling myself previously that I wasn't interesting enough to write about. -* Learning Wayland client development has been fun - I'm doing it in C99. Currently, I'm creating a wallpaper daemon, and so far the hardest part of it is reading image data from files and handling the pixel data. - -## Music - -* The Dismemberment Plan (Change, Emergency & I, "!") -* Jimmy Eat World (Clarity, Static Prevails, Bleed American) - -## TV - -* Severance - * My first time ever watching it, and it's been extremely captivating. I'm only on season 1 as well! -* Aqua Teen Hunger Force diff --git a/content/posts/hello-world.md b/content/posts/hello-world.md new file mode 100644 index 0000000..f80d9fe --- /dev/null +++ b/content/posts/hello-world.md @@ -0,0 +1,11 @@ +--- +title: "Hello, World!" +date: "2025-05-19" +--- + +Hello and welcome! This is an introduction to my website. For the time being, you can read more [about me][about], or check up on what's up with me [right now][now]. + +That's all I've got at the moment, see you soon! + +[about]: /about.html +[now]: /now.html diff --git a/content/posts/status-update-may-2025.md b/content/posts/status-update-may-2025.md new file mode 100644 index 0000000..7473762 --- /dev/null +++ b/content/posts/status-update-may-2025.md @@ -0,0 +1,14 @@ +--- +title: "Status update (May 2025)" +date: "2025-06-04" +--- + +Welcome to my first status update post on the website. I'm not used to this format, so I apologize if it's all over the place. + +As of the beginning of the month, I've started taking my home server projects more seriously. I now rent out a small VPS, which has been a nice addition. Nothing else of interest to add. + +Also, I started doing basic telephony in my home. I have 2 Cisco 7965 IP phones that are connected to an Asterisk PBX, which has been patched with [USECALLMANAGER][usecallmanager] to allow the Cisco phones to have more features over SIP. It's been a really neat thing to work on so far. + +And that's about it for now. Feel free to email with questions, and I'll see you next time! + +[usecallmanager]: https://usecallmanager.nz/documentation-overview.html diff --git a/content/todo.md b/content/todo.md deleted file mode 100644 index 16cec2a..0000000 --- a/content/todo.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: "Todo" ---- - -## Website - -* Section for photos - * Images embedded in pages should be optimized using Hugo's custom renderers diff --git a/hugo.toml b/hugo.toml index a8dd4d6..c00af36 100644 --- a/hugo.toml +++ b/hugo.toml @@ -19,16 +19,6 @@ name = "about" pageref = "/about.html" weight = 10 -[[menu.left_nav]] -name = "now" -pageref = "/now.html" -weight = 20 - -[[menu.left_nav]] -name = "todo" -pageref = "/todo.html" -weight = 30 - [[menu.right_nav]] name = "source" url = "https://codeberg.org/frosty/www" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 63f969d..cc885ef 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,5 @@

Last built {{ time.Now | time.Format "Jan 02 2006" }}.

-CC0 1.0 -Gentoo -Vim: the editor +CC0 1.0 +Gentoo +Vim: the editor diff --git a/themes/polaris/assets/css/style.css b/themes/polaris/assets/css/style.css index 8561ff2..d5f0602 100644 --- a/themes/polaris/assets/css/style.css +++ b/themes/polaris/assets/css/style.css @@ -146,3 +146,7 @@ footer { .build-date { font-style: italic; } + +.badge { + image-rendering: crisp-edges; +} diff --git a/themes/polaris/layouts/_default/home.html b/themes/polaris/layouts/_default/home.html index 3aae006..6e46985 100644 --- a/themes/polaris/layouts/_default/home.html +++ b/themes/polaris/layouts/_default/home.html @@ -1,5 +1,4 @@ {{ define "main" }} {{ .Content }} -

Posts

{{ partial "posts.html" }} {{ end }} diff --git a/themes/polaris/layouts/partials/posts.html b/themes/polaris/layouts/partials/posts.html index f641d16..36f6275 100644 --- a/themes/polaris/layouts/partials/posts.html +++ b/themes/polaris/layouts/partials/posts.html @@ -1,15 +1,13 @@ -{{ $pages := where site.RegularPages "Section" "blog" }} +{{ $pages := where site.RegularPages "Section" "posts" }} {{ $pagesLen := (len $pages) }} {{ if eq $pagesLen 0 }}

There's nothing here!

-{{ end }} - -{{ range $index, $element := $pages }} +{{ else }} +

Posts

- {{ if ne (add $index 1) $pagesLen }} -
{{ end }} + {{ end }} -- cgit v1.2.3-70-g09d2