_pages: Working on adding blog list to index
This commit is contained in:
parent
ba66ae25a5
commit
34b02dd9ba
4
qsgen2
4
qsgen2
@ -373,7 +373,7 @@ function _file_to_lower() {
|
|||||||
function _pages() {
|
function _pages() {
|
||||||
# This function generates all the new and updated Pages
|
# This function generates all the new and updated Pages
|
||||||
|
|
||||||
local debug=false
|
local debug=true
|
||||||
|
|
||||||
# Load the cache for Pages
|
# Load the cache for Pages
|
||||||
if (${debug}) _msg debug "_pages: Running function _pages_cache"
|
if (${debug}) _msg debug "_pages: Running function _pages_cache"
|
||||||
@ -438,7 +438,7 @@ function _pages() {
|
|||||||
#echo "$page_content"
|
#echo "$page_content"
|
||||||
#exit
|
#exit
|
||||||
fi
|
fi
|
||||||
|
#new_updated_blogs=true
|
||||||
# Let's find the file 'index.tpl' and add the blog if blog_in_index is true
|
# Let's find the file 'index.tpl' and add the blog if blog_in_index is true
|
||||||
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user