Debugging
This commit is contained in:
parent
3f345bb049
commit
3060b18dee
7
qsgen2
7
qsgen2
@ -333,13 +333,16 @@ function _pages() {
|
|||||||
if (${debug}) echo "_pages: Replacing tagline"
|
if (${debug}) echo "_pages: Replacing tagline"
|
||||||
pages_tpl=$( echo ${pages_tpl} | sed -e "s|#tagline|${site_tagline}|g" )
|
pages_tpl=$( echo ${pages_tpl} | sed -e "s|#tagline|${site_tagline}|g" )
|
||||||
|
|
||||||
echo ${page_content}
|
#echo ${page_content}
|
||||||
exit
|
#exit
|
||||||
|
|
||||||
# Insert page_content into pages_tpl by replacing the BODY tag present there
|
# 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"
|
if (${debug}) echo "_pages: Replacing BODY with page_content in pages_tpl"
|
||||||
pages_tpl=$( echo ${pages_tpl} | sed -e "s/BODY/${page_content}/g" )
|
pages_tpl=$( echo ${pages_tpl} | sed -e "s/BODY/${page_content}/g" )
|
||||||
|
|
||||||
|
echo ${pages_tpl}
|
||||||
|
exit
|
||||||
|
|
||||||
# HTML'ify the page content
|
# HTML'ify the page content
|
||||||
if (${debug}) echo "_pages: Running engine on ${pages_in_array}"
|
if (${debug}) echo "_pages: Running engine on ${pages_in_array}"
|
||||||
pages_tpl=$( ${engine} ${pages_tpl} )
|
pages_tpl=$( ${engine} ${pages_tpl} )
|
||||||
|
Loading…
Reference in New Issue
Block a user