From 2890be929f9bac23964a59da66bbe346f6bc6586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Tue, 30 Jan 2024 00:14:35 +0100 Subject: [PATCH] Trying --- qsgen2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qsgen2 b/qsgen2 index 035877a..d974a24 100755 --- a/qsgen2 +++ b/qsgen2 @@ -338,18 +338,18 @@ function _pages() { #echo "${magenta}AFTER REPLACING TAGLINE${end}" #echo ${pages_tpl} #exit - - # Replace #updated with today's date and #version with Name and Version to footer - if (${debug}) echo "_pages: _last_updated in pages_tpl" - pages_tpl=$( _last_updated ${pages_tpl} ) - + #echo "${magenta}AFTER _last_updated${end}" #echo ${pages_tpl} #exit # Insert page_content into pages_tpl by replacing the BODY tag present there if (${debug}) echo "_pages: Replacing BODY with page_content in pages_tpl" - pages_tpl=$( echo ${pages_tpl} | sed -e "s|BODY|${page_content}|g" ) + pages_tpl=$( echo ${pages_tpl} | sed "s|BODY|${page_content}|g" ) + + # Replace #updated with today's date and #version with Name and Version to footer + if (${debug}) echo "_pages: _last_updated in pages_tpl" + pages_tpl=$( _last_updated ${pages_tpl} ) echo "${magenta}AFTER BODY HAS BEEN REPLACED${end}" echo ${pages_tpl}