OK
This commit is contained in:
parent
ec76db241f
commit
12c414f17c
7
qsgen2
7
qsgen2
@ -341,12 +341,11 @@ function _pages() {
|
|||||||
# Run a cleanup if in case something was left out
|
# Run a cleanup if in case something was left out
|
||||||
#_cleanup ${pages_tpl}
|
#_cleanup ${pages_tpl}
|
||||||
|
|
||||||
# Write pages_tpl to disk
|
|
||||||
echo "Writing ${www_root}/${pages_in_array%.*}.html to disk."
|
|
||||||
|
|
||||||
# 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_tpl}" > ${www_root}/${pages_in_array%.*}.html
|
# Write pages_tpl to disk
|
||||||
|
echo "Writing ${www_root}/${page_title_lower%.*}.html to disk."
|
||||||
|
echo "${pages_tpl}" > ${www_root}/${page_title_lower%.*}.html
|
||||||
|
|
||||||
# Look for links, images and videos and convert them if present.
|
# Look for links, images and videos and convert them if present.
|
||||||
if (${debug}) echo "_pages: Checking for #link, #showimg and #ytvideo in page_content"
|
if (${debug}) echo "_pages: Checking for #link, #showimg and #ytvideo in page_content"
|
||||||
|
Loading…
Reference in New Issue
Block a user