From f47640ebc9da84b7c61dceb3ed0b6d195c7b9cf7 Mon Sep 17 00:00:00 2001 From: Yaozhu Sun Date: Fri, 1 Mar 2019 04:37:45 +0800 Subject: [PATCH] fix: citation view in Pages widget (#961) --- layouts/partials/widgets/pages.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/widgets/pages.html b/layouts/partials/widgets/pages.html index e07486e5..7a32df79 100644 --- a/layouts/partials/widgets/pages.html +++ b/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" . }}