summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosty <passedgoandgot200@disroot.org>2025-08-22 08:54:40 -0400
committerfrosty <passedgoandgot200@disroot.org>2025-08-22 08:54:40 -0400
commitd0deda9b496f582374f71bf25dd97b8410387a21 (patch)
tree881986978be30b30635e543218c1cecbc74ac21f
downloadwww-d0deda9b496f582374f71bf25dd97b8410387a21.tar.gz
www-d0deda9b496f582374f71bf25dd97b8410387a21.zip
initial commit
-rw-r--r--.gitignore2
-rw-r--r--Makefile15
-rw-r--r--archetypes/default.md5
-rw-r--r--content/_index.md25
-rw-r--r--content/blog/_index.md5
-rw-r--r--content/blog/router.md8
-rw-r--r--content/music/_index.md14
-rw-r--r--content/now.md10
-rw-r--r--content/todo.md5
-rw-r--r--content/uses.md10
-rw-r--r--hugo.toml47
-rw-r--r--static/favicon.icobin0 -> 16958 bytes
-rw-r--r--static/icon.pngbin0 -> 1505 bytes
-rw-r--r--static/omemo-fingerprints.txt3
-rw-r--r--themes/orca/assets/style.css78
-rw-r--r--themes/orca/layouts/_default/_markup/render-heading.html6
-rw-r--r--themes/orca/layouts/_default/baseof.html19
-rw-r--r--themes/orca/layouts/_default/blog.html8
-rw-r--r--themes/orca/layouts/_default/home.html3
-rw-r--r--themes/orca/layouts/_default/music.html7
-rw-r--r--themes/orca/layouts/_default/single.html7
-rw-r--r--themes/orca/layouts/_shortcodes/all-posts.html4
-rw-r--r--themes/orca/layouts/_shortcodes/latest-posts.html5
-rw-r--r--themes/orca/layouts/partials/header.html14
-rw-r--r--themes/orca/layouts/partials/post-item.html11
25 files changed, 311 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c4b387a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+.hugo_build.lock
+public/
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2af5308
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+.POSIX:
+
+all: build
+
+build:
+ @hugo build --minify
+
+serve:
+ @rm -rf public
+ @hugo server --disableFastRender --minify
+
+deploy: all
+ @echo "deploy"
+
+.PHONY: all build serve deploy
diff --git a/archetypes/default.md b/archetypes/default.md
new file mode 100644
index 0000000..25b6752
--- /dev/null
+++ b/archetypes/default.md
@@ -0,0 +1,5 @@
++++
+date = '{{ .Date }}'
+draft = true
+title = '{{ replace .File.ContentBaseName "-" " " | title }}'
++++
diff --git a/content/_index.md b/content/_index.md
new file mode 100644
index 0000000..47f862e
--- /dev/null
+++ b/content/_index.md
@@ -0,0 +1,25 @@
+---
+---
+
+Hi there. I'm a hobbyist network engineer, systems administrator, computer programmer, and photographer. I also enjoy [certain types of music](/music/), working with Linux (and other *nix) servers and desktops, and occasionally watching anime.
+
+I like to do IT projects and tinker with Linux desktops. You can catch up to what I'm up to lately at [my now page](/now.html). Most of my work is offline, but I'm slowly working on writing posts about what I've done.
+
+Because I care more than most about my software setup, you can find it and more at [my uses page](/uses.html).
+
+## Contact
+
+* Email: `passedgoandgot200` [aatt] `disroot` [ddoott] `org`
+ * If you need to send something sensitive, use XMPP; I currently don't use PGP for email.
+* XMPP: `frosty` [aatt] `orcanet` [ddoott] `sh`
+ * Please use OMEMO and encrypt for [this list](/omemo-fingerprints.txt) of fingerprints.
+* IRC: `frostyfalls` on Libera.Chat; see if you can find me elsewhere
+ * I typically idle on just `#gentoo-chat` and `#voidlinux`; of course you can also `/msg` me.
+
+## Me Elsewhere
+
+* Git repositories: [Personal](https://git.mending.trade/), [sourcehut](https://git.sr.ht/~auroras), [GitHub](https://github.com/frostyfalls)
+
+## Latest Posts
+
+{{< latest-posts limit=5 >}}
diff --git a/content/blog/_index.md b/content/blog/_index.md
new file mode 100644
index 0000000..43028d9
--- /dev/null
+++ b/content/blog/_index.md
@@ -0,0 +1,5 @@
+---
+title: "Blog"
+---
+
+{{< all-posts type="blog" >}}
diff --git a/content/blog/router.md b/content/blog/router.md
new file mode 100644
index 0000000..b9ee2bf
--- /dev/null
+++ b/content/blog/router.md
@@ -0,0 +1,8 @@
+---
+title: "Creating a router from scratch"
+date: "2025-08-21"
+tags: ["networking", "servers"]
+draft: true
+---
+
+This is content.
diff --git a/content/music/_index.md b/content/music/_index.md
new file mode 100644
index 0000000..e100ede
--- /dev/null
+++ b/content/music/_index.md
@@ -0,0 +1,14 @@
+---
+title: "Music"
+---
+
+This is the home of my music-related posts; mostly reviews of albums or posts about a live show I went to.
+
+The organization of this section is to be determined, expect it to change.
+
+## Favorites
+
+* The Dismemberment Plan (Change, Emergency & I, Is Terrified)
+* Jimmy Eat World (Clarity, Static Prevails, Bleed American)
+
+{{< all-posts type="music" >}}
diff --git a/content/now.md b/content/now.md
new file mode 100644
index 0000000..7521265
--- /dev/null
+++ b/content/now.md
@@ -0,0 +1,10 @@
+---
+title: "Now"
+lastmod: "2025-08-21"
+---
+
+Most of my hobby projects have been more IT and network focused as of late. My current major projects and interests are:
+
+* My from-scratch router and gateway with niceties like a DNS, WireGuard, and Asterisk server running Gentoo Linux. VLANs are the next priority on the machine, with my managed Catalyst 3560-CG switch in the mix.
+* Cisco IP phones, specifically 7965-G models, hooked up to an Asterisk server - [patched](https://usecallmanager.nz/documentation-overview.html) to provide SCCP-like features, such as BLF, over SIP. They currently don't provide usefulness, but they are fun to play with and customize.
+* New laptop: ThinkPad X220. This has been my favorite laptop to use to date. Surprisingly, the battery life has been exceptional, lasting at least 8 hours with decent use - doing work over SSH, writing and building code, playing back files over a network mounted share.
diff --git a/content/todo.md b/content/todo.md
new file mode 100644
index 0000000..3ebf852
--- /dev/null
+++ b/content/todo.md
@@ -0,0 +1,5 @@
+---
+title: "Todo"
+---
+
+* Add more information to the single page template (date, tags)
diff --git a/content/uses.md b/content/uses.md
new file mode 100644
index 0000000..a80f2c6
--- /dev/null
+++ b/content/uses.md
@@ -0,0 +1,10 @@
+---
+title: "Uses"
+---
+
+I've curated a list of tools that make me the most productive, and I want to share it with you. This can also be seen as a "rocks" page, similar to [the one on the suckless website](https://suckless.org/rocks/).
+
+* Window manager: [Sway](https://swaywm.org/)
+* Terminal emulator: [foot](https://codeberg.org/dnkl/foot)
+
+This page is _very_ incomplete, expect more to be added in the future.
diff --git a/hugo.toml b/hugo.toml
new file mode 100644
index 0000000..571ab1f
--- /dev/null
+++ b/hugo.toml
@@ -0,0 +1,47 @@
+baseURL = "https://mending.trade/"
+languageCode = "en-us"
+title = "frostyfalls"
+theme = "orca"
+uglyURLs = true
+
+[params]
+mainSections = ["blog", "music"]
+
+[frontmatter]
+date = ["date", "publishDate", "lastmod"]
+lastmod = ["lastmod", ":git", "date", "publishDate"]
+
+[[menus.main]]
+name = "home"
+pageRef = "/"
+weight = 10
+
+[[menus.main]]
+name = "now"
+pageRef = "/now.html"
+weight = 20
+
+[[menus.main]]
+name = "blog"
+pageRef = "/blog.html"
+weight = 30
+
+[[menus.main]]
+name = "music"
+pageRef = "/music/"
+weight = 40
+
+[[menus.main]]
+name = "uses"
+pageRef = "/uses.html"
+weight = 50
+
+[[menus.right_main]]
+name = "source"
+url = "https://git.mending.trade/www/"
+weight = 10
+
+[[menus.right_main]]
+name = "todo"
+url = "/todo.html"
+weight = 20
diff --git a/static/favicon.ico b/static/favicon.ico
new file mode 100644
index 0000000..b91bc12
--- /dev/null
+++ b/static/favicon.ico
Binary files differ
diff --git a/static/icon.png b/static/icon.png
new file mode 100644
index 0000000..624dffb
--- /dev/null
+++ b/static/icon.png
Binary files differ
diff --git a/static/omemo-fingerprints.txt b/static/omemo-fingerprints.txt
new file mode 100644
index 0000000..7067ec4
--- /dev/null
+++ b/static/omemo-fingerprints.txt
@@ -0,0 +1,3 @@
+346338FC 140C086E F6B9873F CADBD472 1F9F9A38 65AD7383 9830438C 18AEC702
+2C68682C 915BE0B7 3F321DC0 6EFEFDCD 182D667E 9EA16828 27288243 2DC5B807
+40386F80 F0FB2972 57F7D0CA 241AA7FC 7A5B26EB 5555CC26 67DDB329 5537E542
diff --git a/themes/orca/assets/style.css b/themes/orca/assets/style.css
new file mode 100644
index 0000000..49c53ad
--- /dev/null
+++ b/themes/orca/assets/style.css
@@ -0,0 +1,78 @@
+body {
+ margin: 0;
+ background-color: #090909;
+ color: white;
+}
+
+a {
+ color: violet;
+}
+
+header nav {
+ background: purple;
+ padding: 4px;
+ color: violet;
+}
+
+header nav a {
+ text-decoration: none;
+ color: white;
+}
+
+header nav a:hover {
+ text-decoration: underline;
+}
+
+header nav *.right {
+ float: right;
+}
+
+main {
+ margin: 0 0.8em;
+ max-width: 50em;
+}
+
+main h1,
+main h2,
+main h3 {
+ border-bottom: 1px lightgray dotted;
+}
+
+.post {
+ background: #191919;
+ padding: 0.5em;
+}
+
+.post small.right {
+ float: right;
+}
+
+hr {
+ border: none;
+ border-bottom: 1px lightgray dotted;
+}
+
+header .title {
+ margin: 0.5em;
+}
+
+header .title img {
+ max-width: 48px;
+ vertical-align: middle;
+ margin-right: 0.5em;
+}
+
+header .title h2 {
+ margin: 0;
+ display: inline-block;
+ vertical-align: middle;
+}
+
+header .title h2 a {
+ color: white;
+ text-decoration: none;
+}
+
+header .title h2 a:hover {
+ text-decoration: underline;
+}
diff --git a/themes/orca/layouts/_default/_markup/render-heading.html b/themes/orca/layouts/_default/_markup/render-heading.html
new file mode 100644
index 0000000..d8a820e
--- /dev/null
+++ b/themes/orca/layouts/_default/_markup/render-heading.html
@@ -0,0 +1,6 @@
+<h{{ .Level }} {{ if le .Level 3 }} id="{{ .Anchor | safeURL }}" {{ end }}>
+{{ .Text | safeHTML }}
+{{ if le .Level 3 }}
+ <a href="#{{ .Anchor | safeURL }}">#</a>
+{{ end }}
+</h{{ .Level }}>
diff --git a/themes/orca/layouts/_default/baseof.html b/themes/orca/layouts/_default/baseof.html
new file mode 100644
index 0000000..034b6a1
--- /dev/null
+++ b/themes/orca/layouts/_default/baseof.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang="{{ .Site.Language }}">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>{{ if not .IsHome }}{{ .Title | title }} - {{ end }}{{ .Site.Title }}</title>
+ {{ $stylesheet := resources.Get "style.css" | minify | fingerprint }}
+ <link rel="stylesheet" type="text/css" href="{{ $stylesheet.Permalink }}">
+ <link rel="icon" href="/favicon.ico">
+</head>
+<body>
+ {{ partial "header.html" . }}
+ <main>
+{{ block "main" . }}
+ {{ .Content }}
+{{ end }}
+ </main>
+</body>
+</html>
diff --git a/themes/orca/layouts/_default/blog.html b/themes/orca/layouts/_default/blog.html
new file mode 100644
index 0000000..0f73423
--- /dev/null
+++ b/themes/orca/layouts/_default/blog.html
@@ -0,0 +1,8 @@
+{{ define "main" }}
+<h1>{{ .Title }}</h1>
+ {{ .TableOfContents }}
+ {{ .Content }}
+ {{ with .Lastmod }}
+<p>Last modified {{ .Format "January 2nd, 2006" }}.</p>
+ {{ end }}
+{{ end }}
diff --git a/themes/orca/layouts/_default/home.html b/themes/orca/layouts/_default/home.html
new file mode 100644
index 0000000..e0e8308
--- /dev/null
+++ b/themes/orca/layouts/_default/home.html
@@ -0,0 +1,3 @@
+{{ define "main" }}
+ {{ .Content }}
+{{ end }}
diff --git a/themes/orca/layouts/_default/music.html b/themes/orca/layouts/_default/music.html
new file mode 100644
index 0000000..a59ecb7
--- /dev/null
+++ b/themes/orca/layouts/_default/music.html
@@ -0,0 +1,7 @@
+{{ define "main" }}
+<h1>{{ .Title }}</h1>
+ {{ .Content }}
+ {{ with .Lastmod }}
+<p>Last modified {{ .Format "January 2nd, 2006" }}.</p>
+ {{ end }}
+{{ end }}
diff --git a/themes/orca/layouts/_default/single.html b/themes/orca/layouts/_default/single.html
new file mode 100644
index 0000000..a59ecb7
--- /dev/null
+++ b/themes/orca/layouts/_default/single.html
@@ -0,0 +1,7 @@
+{{ define "main" }}
+<h1>{{ .Title }}</h1>
+ {{ .Content }}
+ {{ with .Lastmod }}
+<p>Last modified {{ .Format "January 2nd, 2006" }}.</p>
+ {{ end }}
+{{ end }}
diff --git a/themes/orca/layouts/_shortcodes/all-posts.html b/themes/orca/layouts/_shortcodes/all-posts.html
new file mode 100644
index 0000000..dab993a
--- /dev/null
+++ b/themes/orca/layouts/_shortcodes/all-posts.html
@@ -0,0 +1,4 @@
+{{ $pages := where site.RegularPages "Type" "eq" (.Get "type") }}
+{{ range $pages }}
+ {{ partial "post-item" . }}
+{{ end }}
diff --git a/themes/orca/layouts/_shortcodes/latest-posts.html b/themes/orca/layouts/_shortcodes/latest-posts.html
new file mode 100644
index 0000000..44ff9d4
--- /dev/null
+++ b/themes/orca/layouts/_shortcodes/latest-posts.html
@@ -0,0 +1,5 @@
+{{ $limit := .Get "limit" }}
+{{ $pages := first $limit (where site.RegularPages "Type" "in" site.Params.mainSections) }}
+{{ range $pages }}
+ {{ partial "post-item" . }}
+{{ end }}
diff --git a/themes/orca/layouts/partials/header.html b/themes/orca/layouts/partials/header.html
new file mode 100644
index 0000000..77d2a39
--- /dev/null
+++ b/themes/orca/layouts/partials/header.html
@@ -0,0 +1,14 @@
+<header>
+ <div class="title">
+ <img src="/icon.png"/>
+ <h2><a href="/">{{ .Site.Title }}</a></h2>
+ </div>
+ <nav>
+{{ range site.Menus.main }}
+ <span>[<a href="{{ .URL }}">{{ .Name }}</a>]</span>
+{{ end }}
+{{ range site.Menus.right_main }}
+ <span class="right">[<a href="{{ .URL }}">{{ .Name }}</a>]</span>
+{{ end }}
+ </nav>
+</header>
diff --git a/themes/orca/layouts/partials/post-item.html b/themes/orca/layouts/partials/post-item.html
new file mode 100644
index 0000000..183dd28
--- /dev/null
+++ b/themes/orca/layouts/partials/post-item.html
@@ -0,0 +1,11 @@
+<div class="post">
+ <small class="right"><a href="/{{ .Type }}/">{{ .Type }}</a></small>
+ <b><a href="{{ .Permalink }}">{{ .Title }}</a></b>
+ <br>
+ <i>{{ .Date.Format "January 2nd, 2006" }}</i>
+ <br>
+ <br>
+ <span>
+ {{ range $i, $t := .Params.tags }}{{ if $i }}, {{ end }}<a href="">{{ $t }}</a>{{ end }}
+ </span>
+</div>