Fix syntax error in qsgen2 script
This commit is contained in:
parent
90f779d89f
commit
f7e542c749
2
qsgen2
2
qsgen2
@ -514,6 +514,7 @@ function _pages() {
|
|||||||
if [[ "${page_content}" =~ ^#title=(.*) ]]; then
|
if [[ "${page_content}" =~ ^#title=(.*) ]]; then
|
||||||
local page_title=$match[1]
|
local page_title=$match[1]
|
||||||
#local page_title=$( echo ${page_content} | head -2 | grep \#title | cut -d= -f2 )
|
#local page_title=$( echo ${page_content} | head -2 | grep \#title | cut -d= -f2 )
|
||||||
|
fi
|
||||||
elif [[ ${generator} == "markdown" ]]; then
|
elif [[ ${generator} == "markdown" ]]; then
|
||||||
while IFS= read -r line
|
while IFS= read -r line
|
||||||
do
|
do
|
||||||
@ -698,6 +699,7 @@ function _blogs() {
|
|||||||
if [[ "${content}" =~ "^BLOG_TITLE (.*)$" ]]; then
|
if [[ "${content}" =~ "^BLOG_TITLE (.*)$" ]]; then
|
||||||
btitle=$match[1]
|
btitle=$match[1]
|
||||||
#btitle=$( echo ${content} | grep BLOG_TITLE | cut -d' ' -f2- )
|
#btitle=$( echo ${content} | grep BLOG_TITLE | cut -d' ' -f2- )
|
||||||
|
fi
|
||||||
elif [[ ${generator} == "markdown" ]]; then
|
elif [[ ${generator} == "markdown" ]]; then
|
||||||
while IFS= read -r line
|
while IFS= read -r line
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user