Debugging
This commit is contained in:
parent
a3a4e3b46b
commit
3eb1fde3e5
2
qsgen2
2
qsgen2
@ -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} | sed -e "s|BODY|${page_content}|g" > ${www_root}/${pages_title_lower%.*}.html
|
||||
echo ${pages_tpl} | grep BODY | sed -e "s|BODY|${page_content}|" > ${www_root}/${pages_title_lower%.*}.html
|
||||
|
||||
# Always use lowercase for file names
|
||||
pages_title_lower=$( _file_to_lower "${pages_in_array}" )
|
||||
|
Loading…
Reference in New Issue
Block a user