From fb6d875e98a3d1211b4d275b6c012679ac26c446 Mon Sep 17 00:00:00 2001 From: lemurianmage Date: Sun, 21 Jun 2026 21:32:02 +0200 Subject: switch to lowdown and write something --- README | 4 ++-- src/contact.md | 21 +++++++++++++++------ src/index.md | 4 +++- src/music.md | 36 ++++++++++++++++++++++++++++++++++++ static/chart.png | Bin 0 -> 3205224 bytes static/newage.jpg | Bin 0 -> 183611 bytes static/stylesheet.css | 18 ++++++++++++------ template.pl | 8 ++++---- 8 files changed, 72 insertions(+), 19 deletions(-) create mode 100644 src/music.md create mode 100644 static/chart.png create mode 100644 static/newage.jpg diff --git a/README b/README index d9191fc..65c9fab 100644 --- a/README +++ b/README @@ -1,12 +1,12 @@ # slimegirl.nexus my website and blog found @ https://slimegirl.nexus. -everything is generated from markdown with md4c and a perl script +everything is generated from markdown with lowdown and a perl script that does the templating and html post-processing work (template.pl). # dependencies -build: gnu make, perl5, mojolicious, md2html (md4c) +build: gnu make, perl5, mojolicious, lowdown >=3.0.0 dev: python3, entr publish: rsync diff --git a/src/contact.md b/src/contact.md index 0093e25..ae9d0a3 100644 --- a/src/contact.md +++ b/src/contact.md @@ -1,11 +1,20 @@ # contact -- fedi: -- signal: ask -- irc: azure @ irc.xenofem.me -- mail: azureazure () disroot ! org +*fedi* +: + +*signal* +: ask + +*irc* +: azure @ irc.xenofem.me (i'm online 24/7 feel free to ping) + +*mail* +: azureazure () disroot ! org ## donations -monero:
83FxBRziyTQWuPKqGTesWGjLfM5Vai8QSbikur5zGHWKFc584cgmbKHjWpQoJzR9Su7NVEX9GVg23iksCKp8doBFCVSsGca
-![Monero public address QR code](monero-qr.png) \ No newline at end of file +*monero* +: `83FxBRziyTQWuPKqGTesWGjLfM5Vai8QSbikur5zGHWKFc584cgmbKHjWpQoJzR9Su7NVEX9GVg23iksCKp8doBFCVSsGca` + +![Monero public address QR code](monero-qr.png) diff --git a/src/index.md b/src/index.md index 8c275bb..33bb968 100644 --- a/src/index.md +++ b/src/index.md @@ -3,4 +3,6 @@ ## about This is the personal website of philomena (she/her) also known as lemurianmage and azureazure in other places. My interests include mathematics, philosophy, -C, UNIX, Lisp and electrical engineering. My paws are big and my tail is fluffy. \ No newline at end of file +C, UNIX, Lisp and electrical engineering. My paws are big and my tail is fluffy. + +- [music](music.html) diff --git a/src/music.md b/src/music.md new file mode 100644 index 0000000..d0c5621 --- /dev/null +++ b/src/music.md @@ -0,0 +1,36 @@ +# music + +!["MAN, AM I PISSED..." "WANNA TRANQUILIZE WITH SOME NEW AGE MUSIC?"](newage.jpg) + +at the age of 14(?) my dumb teenager ass discovered rateyourmusic, severely +damaging her music taste for years to come thinking that the doors and pink floyd +are the greatest bands to ever grace the earth. my dumb teenager ass even +got her hands on a bunch of records and a turntable but eventually gave up on +the idea after discovering soulseek, instanly improving her music taste tenfold, +and now the hilariously expensive boomer plastic disks are all sitting in the +basement collecting dust waiting to be sold. the only record i'm proud of owning +is a 1 of 500 Les Rallizes Denudes '77 Live re-release. i think CDs are pretty +cool though i play coltrane and death in the car sometimes. + +i currently use cmus, vlc, and nicotine+ on the puter and a hifi walker H2 with a +512GB SD card and rockbox on it outside the puter. + +i enjoy ambient and drone and hip-hop and jazz and modern classical and *SOME* +prog rock and jungle and pretty much everything electronic and some forms of +metal. + +## cool stuff +** +: 24/7 jungle radio. you can use the m3u playlists +with whatever music player you like, no need to use the website. + +*soulseek* +: p2p musick sharing network. all the clients fucking suck but i've *never* +encountered a song i couldn't find on there. it's free. it fucking rocks go use +it. nicotine+ is the least shitty client out there. + +** +: the userbase has probably the worst opinions on music known to everybody (just +look at the top all time chart) but sometimes you'll find a trve kvlt gem. + +[my 5x5 chart](chart.png) diff --git a/static/chart.png b/static/chart.png new file mode 100644 index 0000000..cc0d4f6 Binary files /dev/null and b/static/chart.png differ diff --git a/static/newage.jpg b/static/newage.jpg new file mode 100644 index 0000000..ae85a8f Binary files /dev/null and b/static/newage.jpg differ diff --git a/static/stylesheet.css b/static/stylesheet.css index 80240d8..f1ec681 100644 --- a/static/stylesheet.css +++ b/static/stylesheet.css @@ -1,7 +1,4 @@ -* -{ - color-scheme: light dark; -} +* { color-scheme: light dark; } body { @@ -9,11 +6,18 @@ body margin: auto; font-family: serif; font-size: 1.2em; - overflow: hidden; padding: 0 1em; + text-align: justify; } -nav { text-align: center; } +nav, h1 { text-align: center; } + +blockquote +{ + border: 1px solid; + border-left: 6px solid; + padding-left: 0.5em; +} hr { @@ -21,6 +25,8 @@ hr border-bottom: 1px dashed; } +code { overflow: scroll; } + article img { display: block; diff --git a/template.pl b/template.pl index 651d7aa..5c97e61 100755 --- a/template.pl +++ b/template.pl @@ -9,6 +9,8 @@ use autodie; use Mojo::DOM; use File::Basename; +use open qw( :std :encoding(UTF-8) ); + my $template = do { local $/; open my $fh, '<', 'template.html'; @@ -17,21 +19,19 @@ my $template = do { my $dom = Mojo::DOM->new($template); -my $content = `md2html $ARGV[0]`; +my $content = `lowdown --html-no-head-ids $ARGV[0]`; # inject content @
$dom->at('article')->content($content); # replace with the contents of the first <h1> -# also append a <hr> after the first <h1> my $title_dom = $dom->at('h1'); $dom->at('title')->content($title_dom->text) if ($title_dom); -$title_dom->append('<hr>'); # makes the up button go up a directory my $parent = dirname $ARGV[0]; $parent =~ s/^(?:.+?)(\/.*)/$1/; -$parent = dirname $parent if (basename($ARGV[0]) eq 'index.md' or $parent eq "src"); +$parent = dirname $parent if (basename($ARGV[0]) eq 'index.md' or $parent eq 'src'); $dom->at('#go-up')->attr(href => $parent); # give title the same contents as alt if it exists -- cgit v1.2.3