Let's see if it works now
This commit is contained in:
parent
7ff7c11781
commit
4c31c31479
12
qsgen2
12
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} )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user