_pages: Actually run engine

This commit is contained in:
Stig-Ørjan Smelror 2024-02-02 10:42:26 +01:00
parent 82403acf3b
commit 94fd3ecb2c

2
qsgen2
View File

@ -418,7 +418,7 @@ function _pages() {
if [[ ${file_ext} == "tpl" ]]; then
local page_content=$( ${engine} "$page_content" )
elif [[ ${file_ext} == "md" ]]; then
local page_content=$( echo "$page_content" | $(engine) )
local page_content=$( echo "$page_content" | $(${engine}) )
echo "$page_content"
exit
fi