I think I found the bug

This commit is contained in:
Stig-Ørjan Smelror 2024-01-29 22:26:48 +01:00
parent a3c1571ee1
commit 5730683ef5

2
qsgen2
View File

@ -312,7 +312,7 @@ function _pages() {
# Grab the title from the Page
if (${debug}) echo "_pages: Grepping for page_title"
page_title=$( grep '#title' ${page_content} | head -2 | cut -d= -f2 > /dev/null )
page_title=$( head -2 ${page_content} | grep '#title' | cut -d= -f2 )
echo "Page Title: ${page_title}"
exit