Debugging

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 01:02:47 +01:00
parent 78ade18226
commit e1808b998e

2
qsgen2
View File

@ -339,7 +339,7 @@ function _pages() {
# 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"
echo ${pages_tpl} | grep BODY | sed -e "s|BODY|${page_content}|;"
echo ${pages_tpl} | grep BODY | sed -e "s/BODY/${page_content}/"
# >> ${www_root}/${pages_title_lower%.*}.html
# Always use lowercase for file names