Debugging

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 00:41:18 +01:00
parent 1f04d97e44
commit a20405a447

9
qsgen2
View File

@ -343,6 +343,15 @@ function _pages() {
# Always use lowercase for file names # Always use lowercase for file names
pages_title_lower=$( _file_to_lower "${pages_in_array}" ) pages_title_lower=$( _file_to_lower "${pages_in_array}" )
echo "PAGES TEMPLATE"
echo ${pages_tpl}
echo "#######################################################################################"
echo "PAGE CONTENT"
echo ${page_content}
exit
# Write pages_tpl to disk # Write pages_tpl to disk
echo "${green}Writing ${www_root}/${pages_title_lower%.*}.html to disk.${end}" echo "${green}Writing ${www_root}/${pages_title_lower%.*}.html to disk.${end}"
tee < ${pages_tpl} | sed \ tee < ${pages_tpl} | sed \