diff build.sh @ 27:b9aeab8d9362

Sort by date in index.html
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Tue, 18 Feb 2014 16:37:17 +0900
parents 3fb1e07004fa
children
line wrap: on
line diff
--- a/build.sh	Tue Feb 18 16:20:27 2014 +0900
+++ b/build.sh	Tue Feb 18 16:37:17 2014 +0900
@@ -64,7 +64,7 @@
         echo "* ${date} : [$title]($(slide_name_from_full_path $slide))" >> ${index_source_name}
     done
 
-    kramdown ${index_source_name} --template ${index_template_file} > ${index_file_name}
+    (sort ${index_source_name} | kramdown  --template ${index_template_file}) > ${index_file_name}
     rm ${index_source_name}
 }