From e4c18e5573a0b56303cd7c1229c9b23b470521f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sat, 3 Feb 2024 09:34:41 +0100 Subject: [PATCH] _blog_index: Typo --- qsgen2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qsgen2 b/qsgen2 index 911fa7f..fc6beaa 100755 --- a/qsgen2 +++ b/qsgen2 @@ -652,7 +652,7 @@ function _blog_index() { local blog_index=$(<${project_dir}/themes/${theme}/blog_index.tpl) local blog_index_list=$(<${project_dir}/blog/index.tmp.html) - local blog_index_content=$(echo "${blog_index}" | perl -pe "s|BODY|${blog_index_list}|g") + blog_index_content=$(echo "${blog_index}" | perl -pe "s|BODY|${blog_index_list}|g") # Replace every #pagetitle in pages_tpl if (${debug}) _msg debug "_blog_index: Replacing #pagetitle in blog_index_content" @@ -660,7 +660,7 @@ function _blog_index() { # Replace every #tagline in pages_tpl if (${debug}) _msg debug "_blog_index: Replacing tagline in blog_index_content" - blog_index_content=$( echo ${pages_tpl} | perl -pe "s|#tagline|${site_tagline}|gs" ) + blog_index_content=$( echo ${blog_index_content} | perl -pe "s|#tagline|${site_tagline}|gs" ) echo "${blog_index_content}" > ${www_root}/blog/index.html _f_last_updated ${www_root}/blog/index.html