Minnor fix to filter out blog posts items that don't begin with a date (maybe this will break some 'legacy' posts?)
This commit is contained in:
parent
73b8b18679
commit
875d16625e
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ fn gensidebar {
|
||||||
fn sortedBlogPostList {
|
fn sortedBlogPostList {
|
||||||
# the /./ is added so we can sort -t. and order only the file name
|
# the /./ is added so we can sort -t. and order only the file name
|
||||||
if (! ~ $#* 0)
|
if (! ~ $#* 0)
|
||||||
ls $*^'/./' | grep '[0-9]+.*\.md$'| sort -r -t. +1
|
ls $*^'/./' | grep '/[0-9]+.*\.md$'| sort -r -t. +1
|
||||||
}
|
}
|
||||||
|
|
||||||
fn blogTitle {
|
fn blogTitle {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue