Open channels in new tab

This commit is contained in:
Midgard 2024-11-23 21:13:51 +01:00
parent e168aebdb5
commit 95b3f16329
Signed by: midgard
GPG key ID: 511C112F1331BBB4

2
gen.sh
View file

@ -85,7 +85,7 @@ printf '%s\n' "$channels" | while IFS="" read -r chan || [ -n "$chan" ]; do
cat >> "$out" <<HERE cat >> "$out" <<HERE
<div class="channel" id="channel_$name"> <div class="channel" id="channel_$name">
<h2>$display_name <a href="https://mattermost.zeus.gent/zeus/$name"><img src="../go_to_channel.png" alt="Go to channel" class="go_to_channel" /></a></h2> <h2>$display_name <a href="https://mattermost.zeus.gent/zeus/$name" target="mattermost-webapp"><img src="../go_to_channel.png" alt="Go to channel" class="go_to_channel" /></a></h2>
<dl> <dl>
HERE HERE
if [ -n "$purpose" ]; then if [ -n "$purpose" ]; then