_pages: Have to continue adding to page_content
This commit is contained in:
parent
34b02dd9ba
commit
b271af7871
2
qsgen2
2
qsgen2
@ -443,7 +443,7 @@ function _pages() {
|
|||||||
if [[ ${pages_in_array} == "index.${file_ext}" ]] && [[ ${blog_in_index} == "true" ]]; then
|
if [[ ${pages_in_array} == "index.${file_ext}" ]] && [[ ${blog_in_index} == "true" ]]; then
|
||||||
if (${debug}) _msg debug "_pages: Inserting blog list to index.html"
|
if (${debug}) _msg debug "_pages: Inserting blog list to index.html"
|
||||||
local blog_index_list=$(<${project_dir}/blog/index.tmp.html)
|
local blog_index_list=$(<${project_dir}/blog/index.tmp.html)
|
||||||
echo ${blog_index_list} >> ${page_content}
|
page_content=$( echo ${blog_index_list} >> ${page_content} )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Insert page_content into pages_tpl by replacing the BODY tag present there
|
# Insert page_content into pages_tpl by replacing the BODY tag present there
|
||||||
|
Loading…
Reference in New Issue
Block a user