A debug setting

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 00:04:42 +01:00
parent fc1a3a3c5e
commit 2c5a1464ce

4
qsgen2
View File

@ -339,6 +339,10 @@ function _pages() {
if (${debug}) echo "_pages: _last_updated in pages_tpl"
pages_tpl=$( _last_updated ${pages_tpl} )
echo "${magenta}AFTER _last_updated${end}"
echo ${pages_tpl}
exit
# Insert page_content into pages_tpl by replacing the BODY tag present there
if (${debug}) echo "_pages: Replacing BODY with page_content in pages_tpl"
pages_tpl=$( echo ${pages_tpl} | sed -e 's|BODY|${page_content}|g' > /dev/null )