A debug setting
This commit is contained in:
parent
1d0e8df796
commit
fc1a3a3c5e
4
qsgen2
4
qsgen2
@ -322,11 +322,11 @@ function _pages() {
|
|||||||
if (${debug}) echo "_pages: Running engine on ${pages_in_array}"
|
if (${debug}) echo "_pages: Running engine on ${pages_in_array}"
|
||||||
page_content=$( ${engine} ${page_content} )
|
page_content=$( ${engine} ${page_content} )
|
||||||
|
|
||||||
local pages_tpl="$(<${pages})"
|
# local pages_tpl="$(<${pages})"
|
||||||
|
|
||||||
# Replace every #pagetitle in pages_tpl
|
# Replace every #pagetitle in pages_tpl
|
||||||
if (${debug}) echo "_pages: Replacing #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 )
|
pages_tpl=$( echo ${pages_tpl} | sed -e "s|#pagetitle|${page_title}|g" )
|
||||||
|
|
||||||
#echo "${pages_tpl}"
|
#echo "${pages_tpl}"
|
||||||
#exit
|
#exit
|
||||||
|
Loading…
Reference in New Issue
Block a user