diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-06-19 12:33:28 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-06-19 12:33:28 +0200 |
commit | 425357ac6f314d600bbe2fd3480aa1ceebceab1a (patch) | |
tree | 57af514e4b487c3b44e3116f08151907b21bacf4 | |
parent | 0089d87b3eda33b26f5ad07a8fc95b192740d73d (diff) |
support holdbar.com link attachments
-rwxr-xr-x | bin/events2md.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/events2md.pl b/bin/events2md.pl index 3a35a32..be13a8b 100755 --- a/bin/events2md.pl +++ b/bin/events2md.pl @@ -224,7 +224,9 @@ sub print_event if $timespan; $_ .= " \n**Pris:** $price" if $price; - $_ .= " \n[Køb billet på Billetto]($attachments{'billetto.dk'}[0])" + $_ .= " \n[Køb billet på Holdbar]($attachments{'byvandring.holdbar.com'}[0]) " + if $attachments{'byvandring.holdbar.com'}; + $_ .= " \n[Køb billet på Billetto]($attachments{'billetto.dk'}[0]) " if $attachments{'billetto.dk'}; $_ .= " \n[Læs mere her]($attachments{'byvandring.nu'}[0])" if $attachments{'byvandring.nu'}; |