Minor but annoy bug

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 09:30:13 +01:00
parent bf8c59e14f
commit 4fb780e11d

6
qsgen2
View File

@ -359,10 +359,12 @@ function _pages() {
if [[ $( grep \#link ${pages_tpl} > /dev/null ) ]]; then
echo "If #link is present, run _link: pages_tpl"
page_content=$( _link "${pages_tpl}" )
elif [[ $( grep \#showimg ${pages_tpl} > /dev/null ) ]]; then
fi
if [[ $( grep \#showimg ${pages_tpl} > /dev/null ) ]]; then
echo "If #showimg is present, run _image: pages_tpl"
page_content=$( _image "${pages_tpl}" )
elif [[ $( grep \#ytvideo ${pages_tpl} > /dev/null ) ]]; then
fi
if [[ $( grep \#ytvideo ${pages_tpl} > /dev/null ) ]]; then
echo "If #ytvideo is present, run _youtube: pages_tpl"
page_content=$( _youtube "${pages_tpl}" )
fi