:Thought ordering on papers page
parent
377a13a251
commit
34deb2a476
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Generates HTML fragment for document list
|
||||
#
|
||||
# Copyright (C) 2013 Mike Gerwitz
|
||||
# Copyright (C) 2013, 2015 Mike Gerwitz
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -50,7 +50,7 @@ echo '<ol class="docs">'
|
|||
# TODO: use hashcache abstraction via repo2html...file format could change
|
||||
# TODO: would be useful to sort on subject
|
||||
for c in docs/papers/thoughts/*; do
|
||||
grep "^${c##*/}" .hashcache \
|
||||
grep "^${c##*/*_}" .hashcache \
|
||||
| head -n1 \
|
||||
| { read h u t && printf '<li><a href="/%s">%s</a></li>\n' "$u" "$t"; }
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue