Silence output

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 09:20:12 +01:00
parent 44bfc364a7
commit 8844f83276

4
qsgen2
View File

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