done done wrong

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 10:34:00 +01:00
parent a8c71b5242
commit 443ef212aa

4
qsgen2
View File

@ -459,8 +459,9 @@ function _blogs() {
# Write to file # Write to file
echo "${blog_content}" > "${www_root}${blog_url}" echo "${blog_content}" > "${www_root}${blog_url}"
done
else else
# Export metadata mode # Export metadata mode
if (${debug}) echo "_blogs: Exporting metadata for ${blog}" if (${debug}) echo "_blogs: Exporting metadata for ${blog}"
@ -470,7 +471,6 @@ function _blogs() {
export BLOG_URL="${www_root}${blog_url}" export BLOG_URL="${www_root}${blog_url}"
fi fi
done
else else
echo "${yellow}No new or updated Blogs detected.${end}" echo "${yellow}No new or updated Blogs detected.${end}"
fi fi