_list_pages: echo output

This commit is contained in:
Stig-Ørjan Smelror 2024-02-01 18:02:16 +01:00
parent 5bfc5df4da
commit e9bf297bed

2
qsgen2
View File

@ -179,7 +179,7 @@ function _list_pages() {
setopt local_options null_glob
# Check if there are any .blog files in the blog directory
local pages_files=(*.${file_ext})
local pages_files=(*.$(echo ${file_ext}))
if (( ${#pages_files} == 0 )); then
if (${debug}); then _msg debug "_list_pages: No Pages found."; fi
export no_pages_found=true