diff --git a/layouts/project/single.html b/layouts/project/single.html index 0f8603f0..04af86f1 100644 --- a/layouts/project/single.html +++ b/layouts/project/single.html @@ -49,11 +49,11 @@ {{ end }} {{ $items := where (where .Site.RegularPages "Type" "talk") ".Params.projects" "intersect" (slice $project) }} - {{ $items := $items | union (where (where .Site.RegularPages "Type" "publication") ".Params.url_project" $project_path) }} + {{ $items := $items | union (where (where .Site.RegularPages "Type" "talk") ".Params.url_project" $project_path) }} {{ $talks_len := len $items }} {{ if ge $talks_len 1 }}

{{ (i18n "talks") }}

- {{ range $items }} + {{ range sort $items ".Params.time_start" "desc" }} {{ partial "talk_li_simple" . }} {{ end }} {{ end }}