diff options
Diffstat (limited to 'index.md.do')
-rw-r--r-- | index.md.do | 3 |
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 | ||
8 | for x in "${LISTS[@]}"; do | 8 | for x in "${LISTS[@]}"; do |
9 | printf "%s.html\0" "$x" | 9 | printf "%s.html\0" "$x" |
10 | printf "rss/%s.rss\0" "$(basename $x)" | ||
10 | done | xargs -r -0 redo-ifchange | 11 | done | xargs -r -0 redo-ifchange |
11 | 12 | ||
12 | cat <<EOF | 13 | cat <<EOF |
@@ -21,6 +22,6 @@ EOF | |||
21 | for x in "${LISTS[@]}"; do | 22 | for 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" |
26 | done | 27 | done |