From 0b894a563a51693de41dff7bf59c82333fd93866 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 19 Jun 2024 12:33:28 +0200 Subject: support holdbar.com link attachments --- bin/events2md.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'}; -- cgit v1.2.3