diff options
author | frosty <passedgoandgot200@disroot.org> | 2025-06-04 17:06:54 -0400 |
---|---|---|
committer | frosty <passedgoandgot200@disroot.org> | 2025-06-04 17:06:54 -0400 |
commit | 6ce8f79d3b5f6e2d724204e3bcb504b2e7bcb306 (patch) | |
tree | 97765cb560a8ab349172d998296ff070d093411d | |
parent | 2dcf5adbf084eb7f3e33d57f714ed2d2244a6ce8 (diff) |
remove a few pages, move blog into posts, and add first status update
-rw-r--r-- | archetypes/default.md | 10 | ||||
-rw-r--r-- | content/about.md | 20 | ||||
-rw-r--r-- | content/now.md | 21 | ||||
-rw-r--r-- | content/posts/hello-world.md (renamed from content/blog/2025-05-19-hello-world.md) | 0 | ||||
-rw-r--r-- | content/posts/status-update-may-2025.md | 14 | ||||
-rw-r--r-- | content/todo.md | 8 | ||||
-rw-r--r-- | hugo.toml | 10 | ||||
-rw-r--r-- | layouts/partials/footer.html | 6 | ||||
-rw-r--r-- | themes/polaris/assets/css/style.css | 4 | ||||
-rw-r--r-- | themes/polaris/layouts/_default/home.html | 1 | ||||
-rw-r--r-- | themes/polaris/layouts/partials/posts.html | 12 |
11 files changed, 32 insertions, 74 deletions
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/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/blog/2025-05-19-hello-world.md b/content/posts/hello-world.md index f80d9fe..f80d9fe 100644 --- a/content/blog/2025-05-19-hello-world.md +++ b/content/posts/hello-world.md 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 @@ -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 @@ <hr class="footer-break"> <p class="build-date">Last built {{ time.Now | time.Format "Jan 02 2006" }}.</p> -<a href="https://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img src="/img/badge/cc0.png" alt="CC0 1.0"></a> -<a href="https://www.gentoo.org/"><img src="/img/badge/gentoo.png" alt="Gentoo"></a> -<a href="https://www.vim.org/"><img src="/img/badge/vim.png" alt="Vim: the editor"></a> +<a href="https://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img src="/img/badge/cc0.png" alt="CC0 1.0" class="badge"></a> +<a href="https://www.gentoo.org/"><img src="/img/badge/gentoo.png" alt="Gentoo" class="badge"></a> +<a href="https://www.vim.org/"><img src="/img/badge/vim.png" alt="Vim: the editor" class="badge"></a> 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 }} - <h2>Posts</h2> {{ 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 }} <p>There's nothing here!</p> -{{ end }} - -{{ range $index, $element := $pages }} +{{ else }} +<h2>Posts</h2> <ul> + {{ range $index, $element := $pages }} <li><a href = "{{ .Permalink }}">{{ .Title }}</a> ({{ .Date | time.Format "Jan 02 2006" }})</li> -</ul> - {{ if ne (add $index 1) $pagesLen }} -<hr> {{ end }} +</ul> {{ end }} |