diff --git a/qsgen2 b/qsgen2 index 66cdb51..bfc655f 100755 --- a/qsgen2 +++ b/qsgen2 @@ -532,6 +532,8 @@ function _blog_idx_for_index() { local debug=true + echo "${yellow}_blog_idx_for_index: Initiating function${end}" + local blog_list_tpl=$(<${project_dir}/templates/${theme}/blog_list.tpl) # Truncate file before writing new one @@ -568,9 +570,11 @@ function _blog_idx_for_index() { blog_list_content=$(echo "${blog_list_content}" | perl -pe "s|BLOGDATE|${bdate}|g") done + if (${debug}) echo "${red}_blog_idx_for_index: Writing _blog_idx_for_index to file: ${project_dir}/blog/index.tmp.html${end}" if (${debug}) echo "${red}_blog_idx_for_index: blog_list_content = ${blog_list_content}${end}" echo ${blog_list_content} >> ${project_dir}/blog/index.tmp.html + done }