aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-zblock-gen-html
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-27 09:37:57 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-27 09:37:57 +0200
commita4fed5715cc9e47def717ef6f21a5aed34455b32 (patch)
treeee1f7ab07d8f2a6975667e8c3e7f4750b8f79519 /bin/ak-zblock-gen-html
parent465d5db06e56dc21072a8ff01258f6815d340b00 (diff)
downloadarching-kaos-tools-a4fed5715cc9e47def717ef6f21a5aed34455b32.tar.gz
arching-kaos-tools-a4fed5715cc9e47def717ef6f21a5aed34455b32.tar.bz2
arching-kaos-tools-a4fed5715cc9e47def717ef6f21a5aed34455b32.zip
News module aware renderer
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>"