_blog_index: Really replace sitename

This commit is contained in:
Stig-Ørjan Smelror 2024-02-03 09:37:26 +01:00
parent e4c18e5573
commit d91081c948

4
qsgen2
View File

@ -655,8 +655,8 @@ function _blog_index() {
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"
blog_index_content=$( echo ${blog_index_content} | perl -pe "s|#pagetitle|${page_title}|gs" )
if (${debug}) _msg debug "_blog_index: Replacing #sitename in blog_index_content"
blog_index_content=$( echo ${blog_index_content} | perl -pe "s|#sitename|${site_name}|gs" )
# Replace every #tagline in pages_tpl
if (${debug}) _msg debug "_blog_index: Replacing tagline in blog_index_content"