From ec3c4ee252ff4050878d111efebee7e8736110dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 29 Jan 2024 23:48:14 +0100 Subject: [PATCH] Adding more debug info --- qsgen2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qsgen2 b/qsgen2 index 4c39f66..0a4b047 100755 --- a/qsgen2 +++ b/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 )