blog

Personal blog
git clone git://git.laack.co/blog.git
Log | Files | Refs

commit 6728983b8916912e0a665d44b8b096d7451011d0
parent a4e27e52d624943ce8cf7c35a612794f9a495be6
Author: Andrew Laack <andrew@laack.co>
Date:   Sun, 26 Apr 2026 03:03:01 -0500

Updated converter

Diffstat:
Mposts/gemini/index.gmi | 12++++++------
Mposts/site/feed.xml | 2+-
Mscripts/convert.sh | 6+++---
3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/posts/gemini/index.gmi b/posts/gemini/index.gmi @@ -1,9 +1,9 @@ # Andrew's Blog -=> feed.xml +=> https://blog.laack.co/feed.xml -=> config-files-suck.gmi 2025/11/19 -=> you-dont-need-anything.gmi 2025/10/17 -=> stop-collecting-user-data.gmi 2025/10/12 -=> adnauseum-track-me-not-and-privacy-through-obscurity.gmi 2025/10/4 -=> the-sustainability-of-youtube.gmi 2025/9/28 +=> config-files-suck.gmi config-files-suck 2025/11/19 +=> you-dont-need-anything.gmi you-dont-need-anything 2025/10/17 +=> stop-collecting-user-data.gmi stop-collecting-user-data 2025/10/12 +=> adnauseum-track-me-not-and-privacy-through-obscurity.gmi adnauseum-track-me-not-and-privacy-through-obscurity 2025/10/4 +=> the-sustainability-of-youtube.gmi the-sustainability-of-youtube 2025/9/28 diff --git a/posts/site/feed.xml b/posts/site/feed.xml @@ -7,7 +7,7 @@ <language>en-us</language> <managingEditor>andrew@laack.co</managingEditor> <webMaster>andrew@laack.co</webMaster> -<lastBuildDate>Sun, 26 Apr 2026 02:59:59 -0500</lastBuildDate> +<lastBuildDate>Sun, 26 Apr 2026 03:02:50 -0500</lastBuildDate> <atom:link href="https://blog.laack.co/feed.xml" rel="self" type="application/rss+xml"/> <item> <title><![CDATA[Config Files Suck]]></title> diff --git a/scripts/convert.sh b/scripts/convert.sh @@ -13,11 +13,11 @@ INDEX_FILE="posts/site/index.html" GEMINI_INDEX_FILE="posts/gemini/index.gmi" RSS_FILE="posts/site/feed.xml" - +# TODO: Should this be an rss over gemini? cat > "$GEMINI_INDEX_FILE" <<EOF # Andrew's Blog -=> feed.xml +=> https://blog.laack.co/feed.xml EOF @@ -80,7 +80,7 @@ sort -r "$TMP_SORT_FILE" | while IFS='|' read -r SORTABLE_DATE DATE FILE; do printf '<li><a href="%s.html">%s</a> - <em>%s</em></li>\n' "$BASENAME" "$BASENAME" "$DATE" >> "$INDEX_FILE" - printf '=> %s.gmi %s\n' "$BASENAME" "$DATE" >> "$GEMINI_INDEX_FILE" + printf '=> %s.gmi %s %s\n' "$BASENAME" "$BASENAME" "$DATE" >> "$GEMINI_INDEX_FILE" TITLE=$(grep -m1 '^# ' "$FILE" | sed 's/^# //') [ -z "$TITLE" ] && TITLE="$BASENAME"