From 3dc3ca512b7e68e640f5586b0b1e87b8597c806e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sat, 3 Feb 2024 09:53:47 +0100 Subject: [PATCH] _blogs and _pages: Better information --- qsgen2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/qsgen2 b/qsgen2 index bc00b42..8a91a11 100755 --- a/qsgen2 +++ b/qsgen2 @@ -97,6 +97,8 @@ function _msg() { other) echo "${bold_yellow}${2}${end}" ;; + sub) + echo "${magenta}${2}${end}" *) echo "${2}" ;; @@ -364,7 +366,7 @@ function _pages() { pages_tpl="$(<${pages})" fi - _msg std "Generating Page: ${pages_in_array:l%.*}.html" + _msg std "Generating Page: ${pages_in_array%.*}.html" # Read the file once if (${debug}) _msg debug "_pages: Loading page_content once - ${pages_in_array}" local page_content="$(<${pages_in_array})" @@ -438,7 +440,7 @@ function _pages() { else - _msg info "No new or updated Pages" + _msg sub "- No new or updated Pages found" export new_updated_pages=false fi @@ -564,7 +566,7 @@ function _blogs() { export new_updated_blogs=true else - _msg info "No new or updated Blogs detected." + _msg sub "- No new or updated Blogs found" export new_updated_blogs=false fi _blog_idx_for_index