diff --git a/layouts/partials/exhibitions/partials/exhibitions.html b/layouts/partials/exhibitions/partials/exhibitions.html index 37f6db6ee..f0f82b9a8 100644 --- a/layouts/partials/exhibitions/partials/exhibitions.html +++ b/layouts/partials/exhibitions/partials/exhibitions.html @@ -4,16 +4,20 @@ {{ $heading_level := .heading_level | default 2 }} {{ $with_more := eq $layout "agenda" }} -
    - {{ range $exhibitions }} -
  1. - {{ partial "exhibitions/partials/exhibition.html" (dict - "exhibition" . - "heading_level" $heading_level - "layout" $layout - "options" $options - "with_more" $with_more - )}} -
  2. - {{ end }} -
+{{ if not $exhibitions }} +

{{ i18n "exhibitions.none" }}

+{{ else }} +
    + {{ range $exhibitions }} +
  1. + {{ partial "exhibitions/partials/exhibition.html" (dict + "exhibition" . + "heading_level" $heading_level + "layout" $layout + "options" $options + "with_more" $with_more + )}} +
  2. + {{ end }} +
+{{ end }} \ No newline at end of file