aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-zblock-gen-html
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-zblock-gen-html')
-rwxr-xr-xbin/ak-zblock-gen-html5
1 files changed, 5 insertions, 0 deletions
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 " <h1>$PROGRAM</h1>"
echo " <h2>🔎 $zblock</h2>"
+ if [ "$module" == "news" ] && [ "$action" == "add" ]
+ then
+ ak-news -x $zblock
+ fi
+ echo " <h2>ℹī¸ $zblock</h2>"
echo " <table>"
echo " <tr>"
echo " <td>"