From 2c5a1464ce0999d57e2df6f3cc57708106879543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Tue, 30 Jan 2024 00:04:42 +0100 Subject: [PATCH] A debug setting --- qsgen2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qsgen2 b/qsgen2 index 5be96fc..6f87d79 100755 --- a/qsgen2 +++ b/qsgen2 @@ -339,6 +339,10 @@ function _pages() { if (${debug}) echo "_pages: _last_updated in pages_tpl" pages_tpl=$( _last_updated ${pages_tpl} ) + echo "${magenta}AFTER _last_updated${end}" + echo ${pages_tpl} + exit + # 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" pages_tpl=$( echo ${pages_tpl} | sed -e 's|BODY|${page_content}|g' > /dev/null )