A debug setting
This commit is contained in:
parent
3ae67ce4d5
commit
1d0e8df796
2
qsgen2
2
qsgen2
@ -322,6 +322,8 @@ function _pages() {
|
||||
if (${debug}) echo "_pages: Running engine on ${pages_in_array}"
|
||||
page_content=$( ${engine} ${page_content} )
|
||||
|
||||
local pages_tpl="$(<${pages})"
|
||||
|
||||
# Replace every #pagetitle in pages_tpl
|
||||
if (${debug}) echo "_pages: Replacing #pagetitle in pages_tpl"
|
||||
pages_tpl=$( echo ${pages_tpl} | sed -e "s|#pagetitle|${page_title}|g" > /dev/null )
|
||||
|
Loading…
Reference in New Issue
Block a user