{{ if eq .Params.medium "paper" }}
{{ .Scratch.Set "fa" "fa-book" }}
{{ else if eq .Params.medium "poster" }}
{{ .Scratch.Set "fa" "fa-presentation" }}
{{ else if eq .Params.medium "thesis" }}
{{ .Scratch.Set "fa" "fa-graduation-cap" }}
{{ else if eq .Params.medium "presentation" }}
{{ .Scratch.Set "fa" "fa-podium" }}
{{ else }}
{{ .Scratch.Set "fa" "fa-notebook" }}
{{ end }}
{{ $fa := (.Scratch.Get "fa") }}
{{ with .Params.link }}
{{ end }}
{{ .Title }}
{{ $authlist := .Params.authors }}
{{ range $idx, $auth := .Params.authors }}
{{ if and (eq $idx (sub (len $authlist) 1)) (gt 1 (len $authlist)) }}
and
{{ end }}
{{- if eq $auth "Thomas A. Christensen II" }}
{{ $auth }}
{{- else }}
{{ $auth }}
{{- end }}
{{- if lt $idx (sub (len $authlist) 1) -}}
,
{{- end }}
{{ end }}
{{ .Params.journal }}:
{{ .Params.location }}
({{ dateFormat "02 Jan 2006" .Params.date }})
{{ with .Params.keywords }}
Keywords:
{{ range . }}
{{ . }}
{{ end }}
{{ end }}
{{ if eq (.Scratch.Get "showAbstract") true }}
Abstract
{{ .Content }}
{{ end }}