qsgen2: Switch colors

This commit is contained in:
Stig-Ørjan Smelror 2024-02-03 20:46:23 +01:00
parent 066f85db61
commit 27a4bf2274

6
qsgen2
View File

@ -108,7 +108,7 @@ function _msg() {
# Let's check if qsgen2 can generate this site by checking if 'generator' is available # Let's check if qsgen2 can generate this site by checking if 'generator' is available
if [[ ! ${generator} ]] || [[ -d $(pwd)/.git ]]; then if [[ ! ${generator} ]] || [[ -d $(pwd)/.git ]]; then
_msg other "${0:t} cannot parse this site. Exiting." _msg sub "${0:t} cannot parse this site. Exiting."
exit exit
fi fi
@ -359,7 +359,7 @@ function _pages() {
return return
fi fi
_msg other "Generating Pages" _msg info "Generating Pages"
if (( ${#pages_array[@]} > 0 )); then if (( ${#pages_array[@]} > 0 )); then
@ -490,7 +490,7 @@ function _blogs() {
return return
fi fi
_msg other "Generating Blogs" _msg info "Generating Blogs"
# Running function _blog_cache # Running function _blog_cache
if (${debug}) _msg debug "_blogs: Running function _blog_cache" if (${debug}) _msg debug "_blogs: Running function _blog_cache"