_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"
@ -603,6 +603,8 @@ function _blog_idx_for_index() {
blog_list_content=$(echo "${blog_list_content}" | perl -pe "s|CALNDAY|${calnday}|g") blog_list_content=$(echo "${blog_list_content}" | perl -pe "s|CALNDAY|${calnday}|g")
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