Debugging

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 00:50:41 +01:00
parent 47939bc7ea
commit 15e80f4c4e

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"
final_page=$( echo ${pages_tpl} | sed "s|BODY|${page_content}|g" )
final_page=$( sed -i "s|BODY|${page_content}|g" ${pages_tpl} )
# Always use lowercase for file names
pages_title_lower=$( _file_to_lower "${pages_in_array}" )