diff options
| author | lemurianmage <azureazure@disroot.org> | 2026-06-21 21:32:02 +0200 |
|---|---|---|
| committer | lemurianmage <azureazure@disroot.org> | 2026-06-21 21:32:02 +0200 |
| commit | fb6d875e98a3d1211b4d275b6c012679ac26c446 (patch) | |
| tree | 7d96e77d99f2b1fabd330235bed930b4078f0da4 | |
| parent | 3782f2e533b0a5e517e2e4074db166c8d65dc8cd (diff) | |
| download | slimegirl.nexus-fb6d875e98a3d1211b4d275b6c012679ac26c446.tar.gz | |
switch to lowdown and write something
| -rw-r--r-- | README | 4 | ||||
| -rw-r--r-- | src/contact.md | 21 | ||||
| -rw-r--r-- | src/index.md | 4 | ||||
| -rw-r--r-- | src/music.md | 36 | ||||
| -rw-r--r-- | static/chart.png | bin | 0 -> 3205224 bytes | |||
| -rw-r--r-- | static/newage.jpg | bin | 0 -> 183611 bytes | |||
| -rw-r--r-- | static/stylesheet.css | 18 | ||||
| -rwxr-xr-x | template.pl | 8 |
8 files changed, 72 insertions, 19 deletions
@@ -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: <https://social.xenofem.me/users/azureazure> -- signal: ask -- irc: azure @ irc.xenofem.me -- mail: azureazure () disroot ! org +*fedi* +: <https://social.xenofem.me/users/azureazure> + +*signal* +: ask + +*irc* +: azure @ irc.xenofem.me (i'm online 24/7 feel free to ping) + +*mail* +: azureazure () disroot ! org ## donations -monero: <pre>83FxBRziyTQWuPKqGTesWGjLfM5Vai8QSbikur5zGHWKFc584cgmbKHjWpQoJzR9Su7NVEX9GVg23iksCKp8doBFCVSsGca</pre> -
\ No newline at end of file +*monero* +: `83FxBRziyTQWuPKqGTesWGjLfM5Vai8QSbikur5zGHWKFc584cgmbKHjWpQoJzR9Su7NVEX9GVg23iksCKp8doBFCVSsGca` + + 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 + + + +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 +*<https://jungletrain.net>* +: 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. + +*<https://rateyourmusic.com>* +: 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 Binary files differnew file mode 100644 index 0000000..cc0d4f6 --- /dev/null +++ b/static/chart.png diff --git a/static/newage.jpg b/static/newage.jpg Binary files differnew file mode 100644 index 0000000..ae85a8f --- /dev/null +++ b/static/newage.jpg 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 @ <article> $dom->at('article')->content($content); # replace <title> 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 |
