Adding more debug info
This commit is contained in:
parent
8ccc2d92d4
commit
ec3c4ee252
6
qsgen2
6
qsgen2
@ -318,13 +318,13 @@ function _pages() {
|
||||
if (${debug}) echo "_pages: Removing #title line from page_content"
|
||||
page_content=$( echo ${page_content} | grep -v \#title )
|
||||
|
||||
echo "${page_content}"
|
||||
exit
|
||||
|
||||
# HTML'ify the page content
|
||||
if (${debug}) echo "_pages: Running engine on ${pages_in_array}"
|
||||
page_content=$( ${engine} ${page_content} )
|
||||
|
||||
echo "${page_content}"
|
||||
exit
|
||||
|
||||
# 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