diff --git a/layouts/academia/list.html b/layouts/academia/list.html index 7401e4c..f45ddb6 100644 --- a/layouts/academia/list.html +++ b/layouts/academia/list.html @@ -2,49 +2,6 @@

Selected Presentations

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

- {{ if eq .Params.type "poster" }}{{ end }} - {{ if eq .Params.type "thesis" }}{{ end }} -

- {{ 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 }}) -
- Keywords: - {{ range .Params.keywords }} - {{ . }} - {{ end }} -
-
- Abstract - {{ .Content }} -
-
-
+ {{ partial "academia/list-single.html" . }} {{ end }} {{ end }} diff --git a/layouts/partials/academia/list-single.html b/layouts/partials/academia/list-single.html new file mode 100644 index 0000000..53e7500 --- /dev/null +++ b/layouts/partials/academia/list-single.html @@ -0,0 +1,44 @@ +
+
+

+ {{ if eq .Params.type "poster" }}{{ end }} + {{ if eq .Params.type "thesis" }}{{ end }} +

+ {{ 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 }}) +
+ Keywords: + {{ range .Params.keywords }} + {{ . }} + {{ end }} +
+
+ Abstract + {{ .Content }} +
+
+