aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-04-27 14:18:46 +0300
committerCem Keylan <cem@ckyln.com>2020-04-27 14:18:46 +0300
commitf03feca631b7efb9f20a2d3e1be458cd7b611971 (patch)
tree2a2dd47d241d83df14717b8ef84020d86f98bedb /build
parentbfb9369972844b509dd869f133f04a8b6ce75e4c (diff)
downloadwebsite-f03feca631b7efb9f20a2d3e1be458cd7b611971.tar.gz
update
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
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