From 2e808af2f9f49b77f8d5e912a9f44a18681ad48c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sat, 3 Feb 2024 18:02:14 +0100 Subject: [PATCH] Adding messages --- qsgen2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qsgen2 b/qsgen2 index 3cb3244..1913ed6 100755 --- a/qsgen2 +++ b/qsgen2 @@ -589,6 +589,8 @@ function _blog_idx_for_index() { local debug=false + _msg sub "- Populating ${project_dir}/blog/index.tmp.html" + if (${debug}) _msg debug "_blog_idx_for_index: Initiating function" local blog_list_tpl=$(<${project_dir}/themes/${theme}/blog_list.tpl) @@ -690,6 +692,7 @@ function _add_blog_list_to_index() { # Let's find the file 'index.tpl' 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)