From f03feca631b7efb9f20a2d3e1be458cd7b611971 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 27 Apr 2020 14:18:46 +0300 Subject: update --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') diff --git a/build b/build index 8b6c882..7db54cd 100755 --- a/build +++ b/build @@ -94,7 +94,7 @@ site_index() { # find index -name '*.news' | sort -r | sed 3q | while read -r news ; do # shellcheck disable=2046 set -- $(find index -name '*.news' | sort -r) - for news in "$1" "$2" "$3" ; do + for news in "$1" "$2" "$3" "$4" "$5" ; do newsdate="${news##*/}" ; newsdate="${newsdate%.news}" printf '\n### %s\n\n' "$(date --date="$newsdate" +%b\ %d\ %Y)" >> src/index.md cat "$news" >> src/index.md -- cgit v1.2.3