From b271af7871aff97adf62d2cf7ef9d95409a8702b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Fri, 2 Feb 2024 15:58:30 +0100 Subject: [PATCH] _pages: Have to continue adding to page_content --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index 9067b02..e0613c2 100755 --- a/qsgen2 +++ b/qsgen2 @@ -443,7 +443,7 @@ function _pages() { if [[ ${pages_in_array} == "index.${file_ext}" ]] && [[ ${blog_in_index} == "true" ]]; then if (${debug}) _msg debug "_pages: Inserting blog list to index.html" local blog_index_list=$(<${project_dir}/blog/index.tmp.html) - echo ${blog_index_list} >> ${page_content} + page_content=$( echo ${blog_index_list} >> ${page_content} ) fi # Insert page_content into pages_tpl by replacing the BODY tag present there