init/startup: generate blog posts in order

This commit is contained in:
Christine Dodrill 2015-02-13 23:47:06 -08:00
parent 7e0d6fb6ee
commit a16e7e489d
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ cd /app/src/blog
IFS='
'
for file in *
for file in $(ls -t)
do
title=$(head -n1 $file)
line=$(head -n4 $file | tail -n1)