_pages: Working on adding blog list to index

This commit is contained in:
Stig-Ørjan Smelror 2024-02-02 15:56:10 +01:00
parent ba66ae25a5
commit 34b02dd9ba

4
qsgen2
View File

@ -373,7 +373,7 @@ function _file_to_lower() {
function _pages() {
# This function generates all the new and updated Pages
local debug=false
local debug=true
# Load the cache for Pages
if (${debug}) _msg debug "_pages: Running function _pages_cache"
@ -438,7 +438,7 @@ function _pages() {
#echo "$page_content"
#exit
fi
#new_updated_blogs=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 (${debug}) _msg debug "_pages: Inserting blog list to index.html"