diff options
-rwxr-xr-x | www/index.sh | 3 | ||||
-rw-r--r-- | www/news/andrew-robbins-new-maintainer.md (renamed from www/news/20170604-andrew-robbins-new-maintainer.md) | 0 | ||||
-rw-r--r-- | www/news/formalised-structure.md (renamed from www/news/20170425-formalised-structure.md) | 0 | ||||
-rw-r--r-- | www/news/new-mailing-lists.md (renamed from www/news/20170610-new-mailing-lists.md) | 0 | ||||
-rw-r--r-- | www/news/proposal-rejoin-gnu.md (renamed from www/news/20170422-proposal-rejoin-gnu.md) | 0 | ||||
-rw-r--r-- | www/news/unity.md (renamed from www/news/20170402-unity.md) | 0 |
6 files changed, 2 insertions, 1 deletions
diff --git a/www/index.sh b/www/index.sh index 9b6bd7f0..4d7d2292 100755 --- a/www/index.sh +++ b/www/index.sh @@ -37,12 +37,13 @@ meta() { # generate the index file -FILES=$(ls -r1 news/*.md | sed -e s-.*index.md-- -e s-.*presentation.md--) +FILES=$(ls -1 -t news/*.md | sed -e s-.*index.md-- -e s-.*presentation.md--) 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 diff --git a/www/news/20170604-andrew-robbins-new-maintainer.md b/www/news/andrew-robbins-new-maintainer.md index 50c43d3a..50c43d3a 100644 --- a/www/news/20170604-andrew-robbins-new-maintainer.md +++ b/www/news/andrew-robbins-new-maintainer.md diff --git a/www/news/20170425-formalised-structure.md b/www/news/formalised-structure.md index a630ff23..a630ff23 100644 --- a/www/news/20170425-formalised-structure.md +++ b/www/news/formalised-structure.md diff --git a/www/news/20170610-new-mailing-lists.md b/www/news/new-mailing-lists.md index 8d623331..8d623331 100644 --- a/www/news/20170610-new-mailing-lists.md +++ b/www/news/new-mailing-lists.md diff --git a/www/news/20170422-proposal-rejoin-gnu.md b/www/news/proposal-rejoin-gnu.md index 795821e1..795821e1 100644 --- a/www/news/20170422-proposal-rejoin-gnu.md +++ b/www/news/proposal-rejoin-gnu.md diff --git a/www/news/20170402-unity.md b/www/news/unity.md index b44f04e0..b44f04e0 100644 --- a/www/news/20170402-unity.md +++ b/www/news/unity.md |