Fix null concat error when opening rss feeds with no items
This commit is contained in:
parent
973ba4b106
commit
4bb96ddf8b
1 changed files with 2 additions and 1 deletions
|
|
@ -67,7 +67,8 @@ 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
|
||||||
ls $*^'/./' | grep '[0-9]+.*\.md$'| sort -r -t. +1
|
if (! ~ $#* 0)
|
||||||
|
ls $*^'/./' | grep '[0-9]+.*\.md$'| sort -r -t. +1
|
||||||
}
|
}
|
||||||
|
|
||||||
# Body
|
# Body
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue