Formatting of events for readme

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2022-08-15 06:53:49 +01:00
parent 20ceb63bcc
commit 7061402f7c
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78

View File

@ -23,10 +23,20 @@ Below are a selection of highlights.
## 🗓 Upcoming Events
{{ range .events }}
{{ .humanDate }} - [**{{.eventName}}**]({{ .url }})
<div>{{ .humanDate }}</div>
<div>
[**{{.eventName}}**]({{ .url }})
</div>
{{ range .details }}
`{{ .name | html }}{{ if .type }} - {{ .type }}{{ end}}`
<strong>
{{ .name | html }}{{ if .type }} - {{ .type }}{{ end}}
</strong>
{{ end }}
✨✨✨
{{- end }}
</div>