aboutsummaryrefslogtreecommitdiff
path: root/templates/list.md
diff options
context:
space:
mode:
Diffstat (limited to 'templates/list.md')
-rw-r--r--templates/list.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/list.md b/templates/list.md
new file mode 100644
index 0000000..02b8c1b
--- /dev/null
+++ b/templates/list.md
@@ -0,0 +1,32 @@
+[%- FOREACH e IN events -%]
+### [% e.time_brief %].
+[%- IF e.summary %] [% e.summary %]
+[%- END %]
+[% e.description %]
+[%- IF e.attendees %]
+Med [% e.attendees.join(' og ') %].
+[%- END %]
+[%- IF e.location %]
+**Mødested:** [% e.location %]
+[%- END %]
+[%- IF e.timespan %]
+**Tid:** [% e.timespan %].
+[%- END %]
+[%- IF e.price %]
+**Pris:** [% e.price %]
+[%- END %]
+[%- FOREACH uri IN e.attachments %]
+[%- IF uri.host == 'byvandring.holdbar.com' %]
+[Køb billet på Holdbar]([% uri.as_iri %])
+[%- END %]
+[%- IF uri.host == 'billetto.dk' %]
+[Køb billet på Billetto]([% uri.as_iri %])
+[%- END %]
+[%- IF uri.host == 'byvandring.nu' %]
+[Læs mere her]([% uri.as_iri %])
+[%- END %]
+[%- END %]
+
+---
+
+[% END %]