_pages: Do the same for pages
This commit is contained in:
parent
fffa3ab726
commit
09d1b681a8
9
qsgen2
9
qsgen2
@ -338,14 +338,19 @@ function _file_to_lower() {
|
||||
function _pages() {
|
||||
# This function generates all the new and updated Pages
|
||||
|
||||
_msg other "Generating Pages"
|
||||
|
||||
local debug=false
|
||||
|
||||
# Load the cache for Pages
|
||||
if (${debug}) _msg debug "_pages: Running function _pages_cache"
|
||||
_pages_cache
|
||||
|
||||
if [[ ${no_pages_found} == "true" ]]; then
|
||||
_msg std "* You do not have any pages *"
|
||||
return
|
||||
fi
|
||||
|
||||
_msg other "Generating Pages"
|
||||
|
||||
if (( ${#pages_array[@]} > 0 )); then
|
||||
|
||||
# If pages_array is not empty, we do work
|
||||
|
Loading…
Reference in New Issue
Block a user