diff --git a/layouts/academia/list.html b/layouts/academia/list.html new file mode 100644 index 0000000..cfd37ed --- /dev/null +++ b/layouts/academia/list.html @@ -0,0 +1,27 @@ +{{ define "main" }} +

Selected Presentations

+ {{ $featuredpubs := where .Pages ".Params.featured" "==" true }} + {{ range $featuredpubs }} +

+ {{ if eq .Params.type "poster" }}{{ end }} + {{ if eq .Params.type "thesis" }}{{ 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 }} + {{ end }} +{{ end }}