OK
This commit is contained in:
parent
ec76db241f
commit
12c414f17c
9
qsgen2
9
qsgen2
@ -340,13 +340,12 @@ function _pages() {
|
||||
|
||||
# Run a cleanup if in case something was left out
|
||||
#_cleanup ${pages_tpl}
|
||||
|
||||
# Write pages_tpl to disk
|
||||
echo "Writing ${www_root}/${pages_in_array%.*}.html to disk."
|
||||
|
||||
|
||||
# Always use lowercase for file names
|
||||
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.
|
||||
if (${debug}) echo "_pages: Checking for #link, #showimg and #ytvideo in page_content"
|
||||
|
Loading…
Reference in New Issue
Block a user