diff options
author | frosty <passedgoandgot200@disroot.org> | 2025-06-16 06:51:37 -0400 |
---|---|---|
committer | frosty <passedgoandgot200@disroot.org> | 2025-06-16 06:51:37 -0400 |
commit | 5634e70571eac6d9e525cce3cf4186478a04f223 (patch) | |
tree | ea757a21051a5140089fd0e206328c567559e8da | |
parent | eab0d3ff03c66cd0f41eab2c84b43089687c96b0 (diff) |
add new post, add new pages, move about content to home, and more
-rw-r--r-- | Makefile | 13 | ||||
-rw-r--r-- | content/_index.md | 3 | ||||
-rw-r--r-- | content/about.md | 7 | ||||
-rw-r--r-- | content/contact.md | 31 | ||||
-rw-r--r-- | content/posts/imagemagick-email.md | 24 | ||||
-rw-r--r-- | content/projects.md | 18 | ||||
-rw-r--r-- | content/rocks.md | 26 | ||||
-rw-r--r-- | content/todo.md | 10 | ||||
-rw-r--r-- | hugo.toml | 20 | ||||
-rw-r--r-- | static/img/pfp.png | bin | 0 -> 74846 bytes | |||
-rw-r--r-- | static/img/text.png | bin | 0 -> 3461 bytes | |||
-rw-r--r-- | themes/polaris/assets/css/style.css | 2 | ||||
-rw-r--r-- | themes/polaris/layouts/_default/baseof.html | 6 | ||||
-rw-r--r-- | themes/polaris/layouts/partials/nav.html | 7 |
14 files changed, 151 insertions, 16 deletions
@@ -1,15 +1,24 @@ +# Deploy options RSYNC_PATH ?= sudo -u nginx rsync REMOTE ?= user@192.168.0.100:/var/www/html +# Email options +EMAIL_ADDRESS ?= mail@example.net +EMAIL_FONT ?= Iosevka +EMAIL_COLOR ?= eeff11 + all: build build: hugo --minify deploy: build - rsync --rsync-path="$(RSYNC_PATH)" -avP --delete public/ $(REMOTE) + rsync --rsync-path="$(RSYNC_PATH)" -avP --delete public/ "$(REMOTE)" serve: hugo serve --disableFastRender -.PHONY: all build deploy serve +email: + magick -background transparent -fill "#$(EMAIL_COLOR)" -font "$(EMAIL_FONT)" -size 220x60 -gravity center label:"$(EMAIL_ADDRESS)" -wave -15x150 ./static/img/text.png + +.PHONY: all build deploy serve email diff --git a/content/_index.md b/content/_index.md index e69de29..9fbbd0c 100644 --- a/content/_index.md +++ b/content/_index.md @@ -0,0 +1,3 @@ +Hi there, I'm frosty. I'm primarily interested in meteorology, systems administration, and photography; I also like to experiment with minimalistic software setups and unconventional workflows. + +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. diff --git a/content/about.md b/content/about.md deleted file mode 100644 index f1fabd6..0000000 --- a/content/about.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "About" ---- - -Hi there, I'm frosty. I'm primarily interested in meteorology, systems administration, and photography; I also like to experiment with minimalistic software setups and unconventional workflows. - -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. diff --git a/content/contact.md b/content/contact.md new file mode 100644 index 0000000..4fbb8f4 --- /dev/null +++ b/content/contact.md @@ -0,0 +1,31 @@ +--- +title: "Contact" +subtext: "Say hi!" +--- + +Methods of contact are listed in order of preference and likeliness of hearing back. + +## Email + + + +*See [here][email-generate] for how I generated this image!* + +## IRC + +On Libera, I idle in `#gentoo-chat` and `#voidlinux` primarily; I use the nick `frostyfalls`. Feel free to highlight or message me for quick contact. + +I may be on other smaller and more niche networks, but I can't confirm or deny this claim. ;) + +## XMPP + +My JID is `broadview@yax.im`, though this is expected to change sometime soon. The only OMEMO fingerprints I actively use are: + +``` +7c829d6f-012136dc-30a39d91-a06cbd5d-5501f66c-cb0b023b-c1a356b0-c4c7013f +5004ea49-70879550-1f081e8e-b7380424-62228029-60fec0c7-8b015d6b-3a310303 +``` + +Do keep in mind that I don't idle 24/7 in my client at this time. + +[email-generate]: /2025/06/16/imagemagick-powered-email-image-generation.html diff --git a/content/posts/imagemagick-email.md b/content/posts/imagemagick-email.md new file mode 100644 index 0000000..bbf2621 --- /dev/null +++ b/content/posts/imagemagick-email.md @@ -0,0 +1,24 @@ +--- +title: "ImageMagick-powered email image generation" +date: "2025-06-16" +--- + +This is a quick post to show off the email address image shown on the [contact page][contact-email] and how I threw it together. + +I wanted to list my email address on my website, but putting it in plaintext can give those LLM scrapers and bots access to it easier. So, I generated an image with ImageMagick to display it. + +After cross-referencing some documentation on how to [handle text][magick-text] and [warp the image][magick-warp], I figured out how to do what I wanted. I decided to put it in [my website's Makefile][website-makefile] to make it easier to execute. + +...That's pretty much it. Here's the code, though: + +```sh +magick -background transparent -fill "#eeff11" -font "Iosevka" -size 220x60 \ + -gravity center label:"mail@example.net" -wave -15x150 ./static/img/text.png +``` + +Thanks for reading this quick one. Check in later! + +[contact-email]: /contact.html#Email +[magick-text]: https://usage.imagemagick.org/text/ +[magick-warp]: https://usage.imagemagick.org/warping/ +[website-makefile]: https://git.sr.ht/~auroras/www/tree/master/item/Makefile diff --git a/content/projects.md b/content/projects.md new file mode 100644 index 0000000..0f5e0b3 --- /dev/null +++ b/content/projects.md @@ -0,0 +1,18 @@ +--- +title: "Projects" +subtext: "The list that never grows." +--- + +## Server Management + +* Home server: Used as a NAS and photo management solution (powered by [Lychee][lychee]). +* VPS: Used for public-facing services and this very website. +* [frosty-overlay][frosty-overlay]: Personal Gentoo overlay for packaging software not in the official repository. + +## Desktop + +* [dotfiles][dotfiles]: My collection of configurations for my desktop setups + some shell configurations and scripts. + +[lychee]: https://lycheeorg.dev/ +[frosty-overlay]: https://git.sr.ht/~auroras/frosty-overlay +[dotfiles]: https://git.sr.ht/~auroras/dotfiles diff --git a/content/rocks.md b/content/rocks.md new file mode 100644 index 0000000..63c10c0 --- /dev/null +++ b/content/rocks.md @@ -0,0 +1,26 @@ +--- +title: "Rocks" +subtext: "A compilation of anything that butters my muffin." +--- + +## Server Software + +* [PrivateBin](https://privatebin.info/): Pastebin service where encryption and decryption happens in the browser. +* [Miniflux](https://miniflux.app/): Feed reader with simple configuration, minimal UI, and great UX. +* [ZNC](https://wiki.znc.in/ZNC): Featureful IRC bouncer with an extensive web interface for configuration. +* [Gonic](https://github.com/sentriz/gonic): Music streaming server, implements the (Open)Subsonic API. + +## Shell Scripting + +* [ShellCheck](https://www.shellcheck.net/): Static analyzer for shell scripts; the gold standard for people who care about their scripts. +* [shfmt](https://github.com/mvdan/sh): Shell script formatter; while quite opinionated, it works great for me. + +## Emacs Packages + +* [Eglot](https://www.gnu.org/software/emacs/manual/html_node/eglot/index.html): An LSP client implemented right - great configurations out of the box, and generally "just works." + +--- + +I'm taking suggestions for anything that could fit the bill here! Be sure to [let me know][contact] if you have anything. + +[contact]: /contact.html diff --git a/content/todo.md b/content/todo.md new file mode 100644 index 0000000..06444aa --- /dev/null +++ b/content/todo.md @@ -0,0 +1,10 @@ +--- +title: "Todo" +subtext: "Oh boy, will this ever get filled out?" +--- + +This is more of a meta page to list out tasks related to the website that need to be done. + +* [ ] Create proper favicon and other image-related branding. +* [ ] Flesh out the RSS XML (prototype is up). +* [ ] Apply for small-size website clubs, after optimizing assets such as the fonts and images. @@ -20,13 +20,29 @@ subtext = "Lots of ideas, not many implementations." [params.author] name = "frosty" +email = "passedgoandgot200@disroot.org" [[menu.left_nav]] -name = "about" -pageref = "/about.html" +name = "projects" +pageref = "/projects.html" weight = 10 +[[menu.left_nav]] +name = "rocks" +pageref = "/rocks.html" +weight = 20 + +[[menu.left_nav]] +name = "contact" +pageref = "/contact.html" +weight = 30 + [[menu.right_nav]] name = "source" url = "https://git.sr.ht/~auroras/www" weight = 10 + +[[menu.right_nav]] +name = "todo" +pageref = "/todo.html" +weight = 20 diff --git a/static/img/pfp.png b/static/img/pfp.png Binary files differnew file mode 100644 index 0000000..e119db9 --- /dev/null +++ b/static/img/pfp.png diff --git a/static/img/text.png b/static/img/text.png Binary files differnew file mode 100644 index 0000000..fd1fd41 --- /dev/null +++ b/static/img/text.png diff --git a/themes/polaris/assets/css/style.css b/themes/polaris/assets/css/style.css index 6f449a3..1ca72e4 100644 --- a/themes/polaris/assets/css/style.css +++ b/themes/polaris/assets/css/style.css @@ -157,5 +157,5 @@ pre { } code { - font-size: 125%; + font-size: 110%; } diff --git a/themes/polaris/layouts/_default/baseof.html b/themes/polaris/layouts/_default/baseof.html index df0c651..1b34f99 100644 --- a/themes/polaris/layouts/_default/baseof.html +++ b/themes/polaris/layouts/_default/baseof.html @@ -2,12 +2,16 @@ <html> <head> <meta charset="utf-8"> - <title>{{ .Site.Title }}</title> + <title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title> <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="icon" href="/img/pfp.png"> {{ $notoSerif := resources.Get "css/noto-serif.css" | minify | fingerprint }} <link rel="stylesheet" href="{{ $notoSerif.Permalink }}"> {{ $style := resources.Get "css/style.css" | minify | fingerprint }} <link rel="stylesheet" href="{{ $style.Permalink }}"> + {{ with .OutputFormats.Get "rss" }} + {{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} + {{ end }} </head> <body> <nav> diff --git a/themes/polaris/layouts/partials/nav.html b/themes/polaris/layouts/partials/nav.html index 56d2fa9..dc1e463 100644 --- a/themes/polaris/layouts/partials/nav.html +++ b/themes/polaris/layouts/partials/nav.html @@ -1,15 +1,16 @@ <div class="nav-over"> <div class="nav-title"> <h2><a href="/">{{ site.Title }}</a></h2> - {{ with site.Params.subtext }}<span class="nav-subtext">{{ . }}</span>{{ end }} + {{ $subtext := .Params.subtext | default .Site.Params.subtext }} + {{ with $subtext }}<span class="nav-subtext">{{ . }}</span>{{ end }} </div> <ul> {{ $currentPage := . }} {{ range site.Menus.left_nav }} - <li><a class="nav-link link-left {{ if $currentPage.IsMenuCurrent "left_nav" . }} link-active {{ end }}" href=" {{ .URL }}">{{ .Name }}</a></li> + <li><a class="nav-link link-left {{ if $currentPage.IsMenuCurrent "left_nav" . }} link-active {{ end }}" href="{{ .URL }}">{{ .Name }}</a></li> {{ end }} {{ range site.Menus.right_nav }} - <li><a class="nav-link link-right" href=" {{ .URL }}">{{ .Name }}</a></li> + <li><a class="nav-link link-right {{ if $currentPage.IsMenuCurrent "right_nav" . }} link-active {{ end }}" href="{{ .URL }}">{{ .Name }}</a></li> {{ end }} </ul> </div> |