From f7e542c7490e46868a417067bc193b0d36bf73fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sat, 10 Feb 2024 22:14:28 +0100 Subject: [PATCH] Fix syntax error in qsgen2 script --- qsgen2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qsgen2 b/qsgen2 index e640751..0120e65 100755 --- a/qsgen2 +++ b/qsgen2 @@ -514,6 +514,7 @@ function _pages() { if [[ "${page_content}" =~ ^#title=(.*) ]]; then local page_title=$match[1] #local page_title=$( echo ${page_content} | head -2 | grep \#title | cut -d= -f2 ) + fi elif [[ ${generator} == "markdown" ]]; then while IFS= read -r line do @@ -698,6 +699,7 @@ function _blogs() { if [[ "${content}" =~ "^BLOG_TITLE (.*)$" ]]; then btitle=$match[1] #btitle=$( echo ${content} | grep BLOG_TITLE | cut -d' ' -f2- ) + fi elif [[ ${generator} == "markdown" ]]; then while IFS= read -r line do