Debugging

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 01:16:42 +01:00
parent 83101b2e07
commit 330014e4bb

2
qsgen2
View File

@ -314,7 +314,7 @@ function _pages() {
# Grab the title from the Page
if (${debug}) echo "_pages: Grepping for page_title"
page_title=$( echo ${page_content} | head -1 | grep \#title | cut -d= -f2 )
page_title=$( echo ${page_content} | head -2 | grep \#title | cut -d= -f2 )
# Remove the #title line from the buffer. No longer needed.
if (${debug}) echo "_pages: Removing #title line from page_content"