From b5789883879fbbc5c7cbfa16777fab61907ede3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 29 Jan 2024 23:16:25 +0100 Subject: [PATCH] Disable _link, _images and _youtube for now --- qsgen2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qsgen2 b/qsgen2 index 1b2dec1..ae0f5cf 100755 --- a/qsgen2 +++ b/qsgen2 @@ -352,13 +352,13 @@ function _pages() { if (${debug}) echo "_pages: Checking for #link, #showimg and #ytvideo in page_content" if [[ $( grep \#link ${page_content} ) ]]; then echo "If #link is present, run _link: ${page_content}" - _link ${www_root}/${pages_in_array%.*}.html + #_link ${www_root}/${pages_in_array%.*}.html elif [[ $( grep \#showimg ${page_content} ) ]]; then echo "If #showimg is present, run _image: ${page_content}" - _image ${www_root}/${pages_in_array%.*}.html + #_image ${www_root}/${pages_in_array%.*}.html elif [[ $( grep \#ytvideo ${page_content} ) ]]; then echo "If #ytvideo is present, run _youtube: ${page_content}" - _youtube ${www_root}/${pages_in_array%.*}.html + #_youtube ${www_root}/${pages_in_array%.*}.html fi # Run a cleanup if in case something was left out