summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteph Enders <smenders@gmail.com>2022-11-04 16:29:09 -0400
committerSteph Enders <smenders@gmail.com>2022-11-04 16:29:40 -0400
commit65c5ad4194c5b89157a0d9b32d932695b7d0c747 (patch)
tree4257a1b60023f443a3b3c4cf5bff79ddbea2aa59
parentd0b5b23a75801a7fb6cbc38730d7f171793dcf84 (diff)
parentec955047f0b795582ae3a1eba4c8d0d3f78bc4ac (diff)
Merge branch 'markdown-support'
Add support for new pages via markdown No blog templates are supported yet
-rw-r--r--.gitignore1
-rwxr-xr-xcompile-md.sh32
-rw-r--r--mds/wishlist.md51
-rw-r--r--templates/page-footer.html3
-rw-r--r--templates/page-header.html18
-rw-r--r--www/wishlist.html3
6 files changed, 107 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 1ee84da..8cec7e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
*.sw*
+*.md.backup
diff --git a/compile-md.sh b/compile-md.sh
new file mode 100755
index 0000000..f79f742
--- /dev/null
+++ b/compile-md.sh
@@ -0,0 +1,32 @@
+#!/usr/bin/env bash
+
+set -ex
+
+if [ $# -ne 3 ]; then
+ echo "./compile-md.sh [page|blog] [in.md] [out.html]"
+ exit 1
+fi
+
+in=$2
+out=$3
+
+if [ $1 == "blog" ]; then
+ cat templates/blog-header.html > $out
+else
+ if [ $1 == "page" ]; then
+ cat templates/page-header.html > $out
+ else
+ echo "Missing first parameter: [page|blog]"
+ exit 1
+ fi
+fi
+
+markdown $in >> $out
+
+if [ $1 == "blog" ]; then
+ cat templates/blog-footer.html >> $out
+else
+ cat templates/page-footer.html >> $out
+fi
+
+./tidy.sh $out
diff --git a/mds/wishlist.md b/mds/wishlist.md
new file mode 100644
index 0000000..fe278e6
--- /dev/null
+++ b/mds/wishlist.md
@@ -0,0 +1,51 @@
+# Wishlist
+
+In general: Records, Gunpla, Warhammer are always welcome and likely to be most of what the following wishlist will contain.
+
+## Wishlist X-mas 2022
+
+### Records
+
+Please [check my discogs collection](https://www.discogs.com/user/senders/collection) to verify what I own or not!
+
+And you [check my discogs wantlist](https://www.discogs.com/wantlist?user=senders) to see some things I have my eyes on - but it is very much a small subset.
+
+| Artist | Album | Shop(s) | πŸ’– |
+| -- | -- | :-: | :-: |
+| Black Sabbath | Black Sabbath | [Discogs](https://www.discogs.com/artist/144998-Black-Sabbath) |
+| Black Sabbath | Master of Reality | ^ |
+| Iron Maiden | Iron Maiden | [Discogs](https://www.discogs.com/artist/251595-Iron-Maiden) |
+| Iron Maiden | Killers | ^ |
+| Iron Maiden | The Number of the Beast | ^ |
+| Iron Maiden | Piece of Mind | ^ |
+| Iron Maiden | Powerslave | ^ |
+| Iron Maiden | Brave New World | ^ |
+| Jimi Hendrix | Are You Experinced | [Discogs](https://www.discogs.com/artist/110593-Jimi-Hendrix) |
+| KANGA | KANGA (CD) | [Discogs](https://www.discogs.com/release/9368901-Kanga-Kanga) | |
+| KANGA | Eternal Daughter (CD) | [Bandcamp](https://kanga.bandcamp.com/album/eternal-daughter) | πŸ’– |
+| KANGA | You and I Will Never Die (CD) | [Bandcamp](https://kanga.bandcamp.com/album/you-and-i-will-never-die) | πŸ’– |
+| Khemmis | Absolution | [LP Merch Site](https://www.20buckspin.com/collections/khemmis), [Discogs](https://www.discogs.com/artist/4497438-Khemmis) | πŸ’– |
+| Khemmis | Haunted | ^ | πŸ’– |
+| Khemmis | Desolation | ^ | πŸ’– |
+| Raised by Swans | Codes And Secret Longing (CD) | [Discogs](https://www.discogs.com/release/1173259-Raised-By-Swans-Codes-And-Secret-Longing) | |
+| Raised By Swans | Γ–xnadalur (CD) | [Bandcamp](https://raisedbyswans6.bandcamp.com/album/xnadalur) | πŸ’– |
+
+// Items marked with πŸ’– are things I would try for since they have official releases
+
+#### How to shop for records
+
+To shop for records generally, if the band is active/modern I try and link or share their official merch/bandcamp (generally you can websearch for the bands website where they usually link their US LP store).
+
+But otherwise using Discogs is the easiest way to shop for used records. Overall, you simply look through their releases filtering for Vinyl and the album and find a cheaper US release. Try and **avoid good or fair** quality as it usually means "pretty rough but it works". VG is my usual minimum. And do check the sellers shipping options. Sometimes, they make deals for 2+ records (like flatrate shipping) so sometimes ordering from the same store can save some money!.
+
+And PLEASE DO NOT EVER spend a lot on a record. Usually $30 is a brand new repress cost for a 2xLP and my maximum. I would much rather have something not on the above list - knowing it wasn't a total rip-off.
+
+Speaking of represses, represses are always fine. If there are notoriously bad represses/rereleases I'd make it known. But so far only the first two Iron Maiden albums (Self, Killers) suffer from originally bad mastering - so it doesn't _really_ matter if its a repress/release or not. Its mostly purists/nerds who care.
+
+### Else
+
+If you are sick of getting me records for gifts - I do need something to hold some overflow for my records like [found here on etsy](https://www.etsy.com/market/record_crate)
+
+Interesting Fountain Pen ink shades: [Jetpens Store](https://www.jetpens.com/Fountain-Pen-Inks/ct/3250)
+
+
diff --git a/templates/page-footer.html b/templates/page-footer.html
new file mode 100644
index 0000000..f5471aa
--- /dev/null
+++ b/templates/page-footer.html
@@ -0,0 +1,3 @@
+ </div>
+</body>
+</html>
diff --git a/templates/page-header.html b/templates/page-header.html
new file mode 100644
index 0000000..f7bea88
--- /dev/null
+++ b/templates/page-header.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="generator" content="HTML Tidy for HTML5 for Linux version 5.6.0">
+ <title>senders.io - {PAGE}</title>
+ <link rel='stylesheet' type='text/css' href='/index.css'>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+</head>
+<body>
+ <div id='header'>
+ <a class='title' href='/'>senders.io</a>
+ <nav>
+ <a href="/resume">Resume</a> <a href="/blog">Blog</a> <a href=
+ "https://github.com/s3nd3r5">Github</a>
+ </nav>
+ </div>
+ <div id='body'>
diff --git a/www/wishlist.html b/www/wishlist.html
index b6e6869..c270769 100644
--- a/www/wishlist.html
+++ b/www/wishlist.html
@@ -2,7 +2,8 @@
<html lang="en">
<head>
<meta charset="utf-8">
- <meta name="generator" content="HTML Tidy for HTML5 for Linux version 5.6.0">
+ <meta name="generator" content=
+ "HTML Tidy for HTML5 for Linux version 5.7.45">
<link rel='stylesheet' type='text/css' href='/index.css'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Senders&#39; Wishlist</title>