init/startup: generate blog posts in order
This commit is contained in:
parent
7e0d6fb6ee
commit
a16e7e489d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue