From c15093ff7e53de9b48d7805d9ea4dd87c052f651 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Wed, 3 Jul 2024 09:58:10 -0400 Subject: Swap out lowdown for standard markdown for more flexibility --- .build.yml | 2 +- barf | 4 ++-- header.html | 2 +- index.md | 4 +++- posts/Please_Make_Your_Table_Headings_Sticky.md | 10 ++++++++-- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.build.yml b/.build.yml index 7e3803e..ff70f23 100644 --- a/.build.yml +++ b/.build.yml @@ -2,7 +2,7 @@ image: alpine/latest oauth: pages.sr.ht/PAGES:RW packages: - rsync -- lowdown +- markdown - coreutils - go - hut diff --git a/barf b/barf index 53750ca..9cdcb8d 100755 --- a/barf +++ b/barf @@ -15,7 +15,7 @@ elif [ "$os_name" = "Darwin" ]; then fi set -eu -MARKDOWN=lowdown +MARKDOWN=markdown IFS=' ' # Create tab separated file with filename, title, creation date, last update @@ -41,7 +41,7 @@ index_html() { while read -r f title created; do link=$(echo "$f" | sed -E 's|.*/(.*).md|\1/|') created=$(echo $(head -3 "$f" | tail -1)) - echo "
  • $created · $title
  • " + echo "
  • $created$title
  • " done < "$1" | sort -r echo "" diff --git a/header.html b/header.html index 63151e3..cd1ca7a 100644 --- a/header.html +++ b/header.html @@ -8,7 +8,7 @@ {{TITLE}} - +