# HG changeset patch # User Yasutaka Higa # Date 1392709037 -32400 # Node ID b9aeab8d9362a590b983c8d3347d871a4ff6c3dc # Parent 2a22a785d778dd09df572248afcd2b6371f256d3 Sort by date in index.html diff -r 2a22a785d778 -r b9aeab8d9362 build.sh --- 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} }