_list_blogs: Sort from newest to oldest

This commit is contained in:
Stig-Ørjan Smelror 2024-02-03 21:33:32 +01:00
parent 9dc045e9b2
commit edc70975e3

2
qsgen2
View File

@ -181,7 +181,7 @@ function _list_blogs() {
setopt local_options null_glob
# Directly capture matching blog files into an array
local -a blog_files=(blog/*.blog)
local -a blog_files=(blog/*.blog(O))
if (( ${#blog_files[@]} == 0 )); then
if ${debug}; then _msg debug "_list_blogs: No blog files found."; fi