diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-27 09:37:57 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-27 09:37:57 +0200 |
commit | a4fed5715cc9e47def717ef6f21a5aed34455b32 (patch) | |
tree | ee1f7ab07d8f2a6975667e8c3e7f4750b8f79519 /bin/ak-zblock-gen-html | |
parent | 465d5db06e56dc21072a8ff01258f6815d340b00 (diff) | |
download | arching-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-x | bin/ak-zblock-gen-html | 5 |
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>" |