_blogs: Placement, dude. Placement.

This commit is contained in:
Stig-Ørjan Smelror 2024-02-03 20:13:56 +01:00
parent f284d904f6
commit fffa3ab726

15
qsgen2
View File

@ -463,19 +463,20 @@ function _pages() {
function _blogs() {
# This function either generates blog files or exports metadata based on the argument
if [[ ${no_blogs_found} == "true" ]]; then
_msg std "You do not have any blogs."
continue
fi
_msg other "Generating Blogs"
local debug=false
# Running function _list_blogs
if (${debug}) _msg debug "_blogs: Running function _list_blogs"
_list_blogs
if [[ ${no_blogs_found} == "true" ]]; then
_msg std "* You do not have any blogs *"
return
fi
_msg other "Generating Blogs"
# Running function _blog_cache
if (${debug}) _msg debug "_blogs: Running function _blog_cache"
_blog_cache