Let's see if it writes to disk now

This commit is contained in:
Stig-Ørjan Smelror 2024-01-29 23:52:01 +01:00
parent 1115cbd9da
commit 03f8ff1c80

6
qsgen2
View File

@ -322,13 +322,13 @@ function _pages() {
if (${debug}) echo "_pages: Running engine on ${pages_in_array}"
page_content=$( ${engine} ${page_content} )
echo "${page_content}"
exit
# Replace every #pagetitle in pages_tpl
if (${debug}) echo "_pages: Replacing #pagetitle in pages_tpl"
pages_tpl=$( echo ${pages_tpl} | sed -e "s|#pagetitle|${page_title}|g" > /dev/null )
#echo "${pages_tpl}"
#exit
# Replace every #tagline in pages_tpl
if (${debug}) echo "_pages: Replacing tagline"
pages_tpl=$( echo ${pages_tpl} | sed -e "s|#tagline|${site_tagline}|g" > /dev/null )