diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-06-19 12:33:28 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-08-27 23:39:36 +0200 |
commit | 0b894a563a51693de41dff7bf59c82333fd93866 (patch) | |
tree | d09765f89a293e6780a38022a8fd49d78f639d82 | |
parent | fcce5186541fcec0b182023506bfed35b8010201 (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'}; |