From 9dc045e9b2842150a17f1529fe965487d6479bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sat, 3 Feb 2024 20:51:17 +0100 Subject: [PATCH] Clean up and disable debug --- qsgen2 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/qsgen2 b/qsgen2 index be0cc5f..7c33311 100755 --- a/qsgen2 +++ b/qsgen2 @@ -677,10 +677,6 @@ function _blog_idx_for_index() { if (${debug}) _msg debug "_blog_idx_for_index: Writing _blog_idx_for_index to file: ${project_dir}/blog/index.tmp.html" if (${debug}) _msg debug "_blog_idx_for_index: blog_list_content = ${blog_list_content}" echo ${blog_list_content} >> ${project_dir}/blog/index.tmp.html - - # Debug exit - ls -l ${project_dir}/blog/index.tmp.html - #exit done @@ -714,11 +710,10 @@ function _blog_index() { function _add_blog_list_to_index() { - local debug=true + local debug=false # Let's find the file 'index.qst' and add the blog if blog_in_index is true #if [[ ${new_updated_blogs} == "true" ]] && [[ ${blog_in_index} == "true" ]]; then - _msg sub "- Adding blog list to ${www_root}/index.html" if (${debug}) _msg debug "_add_blog_list_to_index: Inserting blog list to index.html" local blog_index_list=$(<${project_dir}/blog/index.tmp.html) local site_index_file=$(<${www_root}/index.html)