Fix event spacing

This commit is contained in:
JP Hastings-Edrei 2024-09-01 14:05:27 +01:00 committed by GitHub
parent be00235298
commit 9e5e9bda11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,7 +18,7 @@ Some of my recent (and more substantial) writing.
## Upcoming events
{{- $upcomingEvents := partial "upcoming-events.obj" }}
{{ $upcomingEvents := partial "upcoming-events.obj" -}}
{{- if ge (len $upcomingEvents) 2 -}}
Maybe you'll see me at **{{ (index $upcomingEvents 0).Title }}** on {{ (partial "year-relative-date.html" (index $upcomingEvents 0).Date) | plainify }}, or **{{ (index $upcomingEvents 1).Title }}** on {{ (partial "year-relative-date.html" (index $upcomingEvents 1).Date) | plainify }}.
Get in touch if you'd like to go to these, or any other events⁺, together!