From 230688a0b842cf57b316a7ba62910ca387afbce7 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 3 Aug 2015 12:49:29 +0200 Subject: Start of complete rewrite to switch to hakyll --- index.md.do | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 index.md.do (limited to 'index.md.do') diff --git a/index.md.do b/index.md.do deleted file mode 100644 index 3155cb7..0000000 --- a/index.md.do +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash - -LISTS=() -while read -r -d $'\0'; do - LISTS+=("$REPLY") -done < <(find lists -maxdepth 1 -mindepth 1 -type d -not -name '.*' -print0 | sort -z) - -for x in "${LISTS[@]}"; do - printf "%s.html\0" "$x" - printf "rss/%s.rss\0" "$(basename $x)" -done | xargs -r -0 redo-ifchange - -cat < if you so choose. - -EOF - -for x in "${LISTS[@]}"; do - printf "* [%s](%s) ([RSS](rss/%s))\n" "$(<$x/title)" "$x.html" "$(basename $x).rss" - while read -r -d $'\n'; do - printf " %s\n" "$REPLY" - done < "$x/preview" -done -- cgit v1.2.3