_blogs: Don't run the whole _blogs function if there are no blogs
This commit is contained in:
parent
ee6ff7e65c
commit
cf1effeb39
5
qsgen2
5
qsgen2
@ -464,6 +464,11 @@ 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."
|
||||
return
|
||||
fi
|
||||
|
||||
_msg other "Generating Blogs"
|
||||
|
||||
local debug=false
|
||||
|
Loading…
Reference in New Issue
Block a user