Let's see if it works now
This commit is contained in:
parent
7ff7c11781
commit
4c31c31479
10
qsgen2
10
qsgen2
@ -310,23 +310,13 @@ function _pages() {
|
|||||||
if (${debug}) echo "_pages: Loading page_content once"
|
if (${debug}) echo "_pages: Loading page_content once"
|
||||||
local page_content="$(<${pages_in_array})"
|
local page_content="$(<${pages_in_array})"
|
||||||
|
|
||||||
#echo "PAGE CONTENT"
|
|
||||||
#echo "$page_content"
|
|
||||||
#exit
|
|
||||||
|
|
||||||
# Grab the title from the Page
|
# Grab the title from the Page
|
||||||
if (${debug}) echo "_pages: Grepping for page_title"
|
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 -1 | grep '#title' | cut -d= -f2 )
|
||||||
|
|
||||||
echo "Page Title: ${page_title}"
|
|
||||||
exit
|
|
||||||
|
|
||||||
# Remove the #title line from the buffer. No longer needed.
|
# Remove the #title line from the buffer. No longer needed.
|
||||||
page_content=$( grep -v '#title' ${page_content} )
|
page_content=$( grep -v '#title' ${page_content} )
|
||||||
|
|
||||||
echo "${page_content}"
|
|
||||||
exit
|
|
||||||
|
|
||||||
# HTML'ify the page content
|
# HTML'ify the page content
|
||||||
page_content=$( ${engine} ${page_content} )
|
page_content=$( ${engine} ${page_content} )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user