From fc1a3a3c5e3c07358ae3f3dbcc992b55bdb6f2b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Tue, 30 Jan 2024 00:01:35 +0100 Subject: [PATCH] A debug setting --- qsgen2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qsgen2 b/qsgen2 index 6f9f362..5be96fc 100755 --- a/qsgen2 +++ b/qsgen2 @@ -322,11 +322,11 @@ function _pages() { if (${debug}) echo "_pages: Running engine on ${pages_in_array}" page_content=$( ${engine} ${page_content} ) - local pages_tpl="$(<${pages})" + # 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 ) + pages_tpl=$( echo ${pages_tpl} | sed -e "s|#pagetitle|${page_title}|g" ) #echo "${pages_tpl}" #exit