forked from Fediversity/Fediversity
list events on the dedicated page more like articles
This commit is contained in:
parent
3b002a5d2d
commit
a6e764d2fc
|
@ -7,7 +7,13 @@
|
||||||
body =
|
body =
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
events = map (event: "- [${event.start-date} ${event.title}](${link event})") config.collections.events.entry;
|
events = map
|
||||||
|
(event: with lib; ''
|
||||||
|
## [${event.title}](${link event})
|
||||||
|
|
||||||
|
${event.start-date} ${optionalString (!isNull event.end-date && event.end-date != event.start-date) "to ${event.end-date}"} in ${event.location}
|
||||||
|
'')
|
||||||
|
config.collections.events.entry;
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
${join "\n" events}
|
${join "\n" events}
|
||||||
|
|
Loading…
Reference in a new issue