From 5469e7e4016ee61faa0e6e1bf62841ca25bbbcb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Fri, 2 Feb 2024 17:23:33 +0100 Subject: [PATCH] _pages: Really trying to get this to work --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index e30db7f..c26a676 100755 --- a/qsgen2 +++ b/qsgen2 @@ -443,7 +443,7 @@ function _pages() { # Use Perl for multi-line and special character handling local pages_tpl=$( awk -v new_body="$page_content" '{sub(/BODY/, new_body)} 1' <(echo "${pages_tpl}") ) fi - else + elif [[ ${new_updated_blogs} == "falseq" ]] && [[ ${blog_in_index} == "false" ]]; then if (${debug}) _msg debug "_pages: 2. Replacing BODY with page_content in pages_tpl using Perl" # Use Perl for multi-line and special character handling local pages_tpl=$( awk -v new_body="$page_content" '{sub(/BODY/, new_body)} 1' <(echo "${pages_tpl}") )