A debug setting
This commit is contained in:
1 parent
3ae67ce4d5
commit
1d0e8df796
1 file changed
+2
@@ -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 )
|
||||
|
||||
Reference in new issue
Block a user