_pages: Really trying to get this to work
This commit is contained in:
parent
32ca0ed4d9
commit
5469e7e401
2
qsgen2
2
qsgen2
@ -443,7 +443,7 @@ function _pages() {
|
|||||||
# Use Perl for multi-line and special character handling
|
# 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}") )
|
local pages_tpl=$( awk -v new_body="$page_content" '{sub(/BODY/, new_body)} 1' <(echo "${pages_tpl}") )
|
||||||
fi
|
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"
|
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
|
# 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}") )
|
local pages_tpl=$( awk -v new_body="$page_content" '{sub(/BODY/, new_body)} 1' <(echo "${pages_tpl}") )
|
||||||
|
Loading…
Reference in New Issue
Block a user