浏览代码

fix: citation view in Pages widget (#961)

Yaozhu Sun 6 年之前
父节点
当前提交
f47640ebc9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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" . }}