_blog_idx_for_index: Squash echo to console

This commit is contained in:
Stig-Ørjan Smelror 2024-02-03 08:37:21 +01:00
parent cb9c7547dd
commit c1f021c883

4
qsgen2
View File

@ -335,7 +335,7 @@ function _file_to_lower() {
function _pages() { function _pages() {
# This function generates all the new and updated Pages # This function generates all the new and updated Pages
local debug=true local debug=false
# Load the cache for Pages # Load the cache for Pages
if (${debug}) _msg debug "_pages: Running function _pages_cache" if (${debug}) _msg debug "_pages: Running function _pages_cache"
@ -604,6 +604,8 @@ function _blog_idx_for_index() {
blog_list_content=$(echo "${blog_list_content}" | perl -pe "s|CALMONTH|${calmonth}|g") blog_list_content=$(echo "${blog_list_content}" | perl -pe "s|CALMONTH|${calmonth}|g")
blog_list_content=$(echo "${blog_list_content}" | perl -pe "s|CALYEAR|${calyear}|g") blog_list_content=$(echo "${blog_list_content}" | perl -pe "s|CALYEAR|${calyear}|g")
unset sdate btitle ingress url
done done
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: Writing _blog_idx_for_index to file: ${project_dir}/blog/index.tmp.html"