From a4fed5715cc9e47def717ef6f21a5aed34455b32 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 27 Mar 2024 09:37:57 +0200 Subject: News module aware renderer --- bin/ak-zblock-gen-html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/ak-zblock-gen-html') diff --git a/bin/ak-zblock-gen-html b/bin/ak-zblock-gen-html index 289823b..d125d82 100755 --- a/bin/ak-zblock-gen-html +++ b/bin/ak-zblock-gen-html @@ -94,6 +94,11 @@ then # Output data in HTML format echo "

$PROGRAM

" echo "

🔎 $zblock

" + if [ "$module" == "news" ] && [ "$action" == "add" ] + then + ak-news -x $zblock + fi + echo "

ℹī¸ $zblock

" echo " " echo " " echo "
" -- cgit v1.2.3