Added re:Invent

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
2022-08-14 09:05:23 +01:00
parent 95c19ef6b4
commit 2c29b561b2
3 changed files with 9 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ Below are a selection of highlights.
{{ range .events }}
{{ .humanDate }} - [**{{.eventName}}**]({{ .url }})
{{ range .details }}
`{{ .name }} - {{ .type }}`
`{{ .name | html }}{{ if .type }} - {{ .type }}{{/end}}`
{{ end }}
{{- end }}

View File

@@ -313,8 +313,8 @@
<strong><a href="{{ .url }}">{{ .eventName }}</a></strong>
{{ range .details }}
<div>
<span>{{ .name }}</span>
<span class="tag">{{ .type }}</span>
<span>{{ .name | html }}</span>
{{ if .type }}<span class="tag">{{ .type }}</span>{{ end }}
</div>
{{ end }}
</div>