From ad814303f624c02dc482a77652dc7946d2d0e94d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Thu, 1 Feb 2024 18:07:25 +0100 Subject: [PATCH] generator md --- qsgen2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qsgen2 b/qsgen2 index 8884b93..3be2808 100755 --- a/qsgen2 +++ b/qsgen2 @@ -152,7 +152,7 @@ elif [[ ${generator} == "markdown" ]]; then exit else # Usage: ${engine} ${1} - Where 1 is the file you want parsed - engine="/usr/bin/markdown ${1} -d" + engine=/usr/bin/markdown ${1} -d export file_ext=md fi fi @@ -180,7 +180,7 @@ function _list_pages() { setopt local_options null_glob # Check if there are any .blog files in the blog directory - local pages_files=$(ls *.${file_ext}) + local pages_files=$(ls *${file_ext}) if (( ${#pages_files} == 0 )); then if (${debug}); then _msg debug "_list_pages: No Pages found."; fi export no_pages_found=true