Debugging

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 01:17:59 +01:00
parent 330014e4bb
commit 3f345bb049

3
qsgen2
View File

@ -333,6 +333,9 @@ function _pages() {
if (${debug}) echo "_pages: Replacing tagline" if (${debug}) echo "_pages: Replacing tagline"
pages_tpl=$( echo ${pages_tpl} | sed -e "s|#tagline|${site_tagline}|g" ) pages_tpl=$( echo ${pages_tpl} | sed -e "s|#tagline|${site_tagline}|g" )
echo ${page_content}
exit
# Insert page_content into pages_tpl by replacing the BODY tag present there # 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" if (${debug}) echo "_pages: Replacing BODY with page_content in pages_tpl"
pages_tpl=$( echo ${pages_tpl} | sed -e "s/BODY/${page_content}/g" ) pages_tpl=$( echo ${pages_tpl} | sed -e "s/BODY/${page_content}/g" )