From a20405a447975d6d7a4cb72cccd1275bcd4759c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Tue, 30 Jan 2024 00:41:18 +0100 Subject: [PATCH] Debugging --- qsgen2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/qsgen2 b/qsgen2 index 69f8bf9..bdb3035 100755 --- a/qsgen2 +++ b/qsgen2 @@ -343,6 +343,15 @@ function _pages() { # Always use lowercase for file names pages_title_lower=$( _file_to_lower "${pages_in_array}" ) + + echo "PAGES TEMPLATE" + echo ${pages_tpl} + echo "#######################################################################################" + echo "PAGE CONTENT" + echo ${page_content} + exit + + # Write pages_tpl to disk echo "${green}Writing ${www_root}/${pages_title_lower%.*}.html to disk.${end}" tee < ${pages_tpl} | sed \