Fix null concat error when opening rss feeds with no items
This commit is contained in:
parent
a3049b1d25
commit
26a405b69e
@ -67,7 +67,8 @@ fn gensidebar {
|
||||
|
||||
fn sortedBlogPostList {
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user