diff --git a/qsgen2 b/qsgen2 index 98f2f15..b3f1860 100755 --- a/qsgen2 +++ b/qsgen2 @@ -309,24 +309,14 @@ function _pages() { # Read the file once if (${debug}) echo "_pages: Loading page_content once" local page_content="$(<${pages_in_array})" - - #echo "PAGE CONTENT" - #echo "$page_content" - #exit - + # 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 ) - echo "Page Title: ${page_title}" - exit - # Remove the #title line from the buffer. No longer needed. page_content=$( grep -v '#title' ${page_content} ) - echo "${page_content}" - exit - # HTML'ify the page content page_content=$( ${engine} ${page_content} )