aboutsummaryrefslogtreecommitdiff
path: root/www/index.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/index.sh')
-rwxr-xr-xwww/index.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/index.sh b/www/index.sh
index 4d7d2292..618b8fc5 100755
--- a/www/index.sh
+++ b/www/index.sh
@@ -37,13 +37,13 @@ meta() {
# generate the index file
-FILES=$(ls -1 -t news/*.md | sed -e s-.*index.md-- -e s-.*presentation.md--)
+# MANIFEST determines the order of news articles in news/index.md
+FILES=$(cat news/MANIFEST)
cat news-list.md > news/index.md
for f in $FILES
do
- touch -d "$(sed -n 3p $f | sed -e 's/^..//g')" $f
meta >> news/index.md
done