summaryrefslogtreecommitdiff
path: root/index.md.do
diff options
context:
space:
mode:
Diffstat (limited to 'index.md.do')
-rw-r--r--index.md.do3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.md.do b/index.md.do
index 605bbb0..f9def9c 100644
--- a/index.md.do
+++ b/index.md.do
@@ -7,6 +7,7 @@ done < <(find lists -maxdepth 1 -mindepth 1 -type d -not -name '.*' -print0 | so
7 7
8for x in "${LISTS[@]}"; do 8for x in "${LISTS[@]}"; do
9 printf "%s.html\0" "$x" 9 printf "%s.html\0" "$x"
10 printf "rss/%s.rss\0" "$(basename $x)"
10done | xargs -r -0 redo-ifchange 11done | xargs -r -0 redo-ifchange
11 12
12cat <<EOF 13cat <<EOF
@@ -21,6 +22,6 @@ EOF
21for x in "${LISTS[@]}"; do 22for x in "${LISTS[@]}"; do
22 printf "* [%s](%s)\n" "$(<$x/title)" "$x.html" 23 printf "* [%s](%s)\n" "$(<$x/title)" "$x.html"
23 while read -r -d $'\n'; do 24 while read -r -d $'\n'; do
24 printf " %s\n" "$REPLY" 25 printf " %s ([RSS](rss/%s))\n" "$REPLY" "$(basename $x).rss"
25 done < "$x/preview" 26 done < "$x/preview"
26done 27done