Explorar o código

fix: citation view in Pages widget (#961)

Yaozhu Sun %!s(int64=6) %!d(string=hai) anos
pai
achega
f47640ebc9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      layouts/partials/widgets/pages.html

+ 1 - 1
layouts/partials/widgets/pages.html

@@ -79,7 +79,7 @@
         {{ partial "li_list" . }}
       {{ else if eq $st.Params.design.view 3 }}
         {{ partial "li_card" . }}
-      {{ else if eq $st.Params.design.view 3 | and (eq $st.Type "publication") }}
+      {{ else if eq $st.Params.design.view 4 | and (eq $items_type "publication") }}
         {{ partial "li_citation" . }}
       {{ else }}
         {{ partial "li_compact" . }}