This commit is contained in:
Stig-Ørjan Smelror 2024-01-29 23:36:20 +01:00
parent 5a70bc1159
commit 4543f9ad78

4
qsgen2
View File

@ -344,8 +344,8 @@ function _pages() {
# Always use lowercase for file names
pages_title_lower=$( _file_to_lower "${pages_in_array}" )
# Write pages_tpl to disk
echo "Writing ${www_root}/${page_title_lower%.*}.html to disk."
echo "${pages_tpl}" > ${www_root}/${page_title_lower%.*}.html
echo "Writing ${www_root}/${pages_title_lower%.*}.html to disk."
echo "${pages_tpl}" > ${www_root}/${pages_title_lower%.*}.html
# Look for links, images and videos and convert them if present.
if (${debug}) echo "_pages: Checking for #link, #showimg and #ytvideo in page_content"