partial "li_list" . }}
    {{ else if eq $st.Params.design.view 3 }}
      {{ partial "li_card" . }}
    {{ else if eq $st.Params.design.view 4 | and (eq $items_type "publication") }}
      {{ partial "li_citation" . }}
    {{ else }}
      {{ partial "li_compact" . }}
    {{ end }}
  {{end}}

  {{/* Archive link */}}
  {{ $show_archive_link := $st.Params.content.archive.enable | default (gt $count $items_count) }}
  {{ if $show_archive_link }}

    {{ $archive_link := "" }}
    {{ if $st.Params.content.arc