Spaces and tabs

This commit is contained in:
Stig-Ørjan Smelror 2024-02-11 11:11:24 +01:00
parent 5d399d716f
commit 166157fc77

10
qsgen2
View File

@ -796,12 +796,12 @@ function _blogs() {
export new_updated_blogs=false
fi
if [[ ${new_updated_blogs} == "true" ]]; then
if [[ ${new_updated_blogs} == "true" ]]; then
if (${debug}) _msg sub "* _blogs: Running _blog_idx_for_index"
_blog_idx_for_index
if (${debug}) _msg sub "* _blogs: Running _blog_index"
_blog_index
fi
fi
}
@ -939,8 +939,8 @@ function _sitemap() {
local debug=false
fi
# Check if sitemap is set to true and if there are updated Blogs or Pages before updating the sitemap.xml file.
if [[ ${sitemap} == "true" ]] && ( [[ ${new_updated_blogs} == "true" ]] || [[ ${new_updated_pages} == "true" ]] ); then
# Check if sitemap is set to true and if there are updated Blogs or Pages before updating the sitemap.xml file.
if [[ ${sitemap} == "true" ]] && ( [[ ${new_updated_blogs} == "true" ]] || [[ ${new_updated_pages} == "true" ]] ); then
_msg main "Generating Sitemap"
@ -979,7 +979,7 @@ if [[ ${sitemap} == "true" ]] && ( [[ ${new_updated_blogs} == "true" ]] || [[ ${
if (${debug}); then _msg debug "Sitemap generated at ${sitemap_file}"; fi
fi
fi
}