{{ define "main" }}

{{ .Params.Title }}

{{ .Params.Description }}


{{ .Content }} Discord
{{ $hasGoodHost := false }} {{ range .Params.Hosts }} {{ if or .bio .image }} {{ $hasGoodHost = true }} {{ end }} {{ end }} {{ if $hasGoodHost }}

Meetup host{{ if (gt (len .Params.Hosts) 1) }}s{{ end }}

{{ range .Params.Hosts }}
{{ .name }}
{{ if or .bio .image }}
{{ if .image }} {{ $imageurl := resources.Get .image }} {{ if $imageurl}}
{{ end }} {{ end }} {{ if .bio }} {{ .bio | markdownify }} {{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}