From da7dd410cd31906ca2f4c91b016a74d1bc6478fb Mon Sep 17 00:00:00 2001 From: xing Date: Sat, 29 Apr 2023 22:08:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E6=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/theme/twentyseventeen/twentyseventeen.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/theme/twentyseventeen/twentyseventeen.go b/internal/theme/twentyseventeen/twentyseventeen.go index 4627982..0292123 100644 --- a/internal/theme/twentyseventeen/twentyseventeen.go +++ b/internal/theme/twentyseventeen/twentyseventeen.go @@ -69,6 +69,7 @@ func configs(h *wp.Handle) { ) h.CommonComponents() h.Index.SetPageEle(paginate) + wp.ReplyCommentJs(h) h.Index.SetListPlugin(wp.PostsPlugins(wp.PostPlugin(postThumbnail), wp.GetListPostPlugins(conf.ListPagePlugins, wp.ListPostPlugins())...)) wp.SetComponentsArgsForMap(h, widgets.Search, "{$form}", searchForm) h.PushRender(constraints.AllStats, wp.NewHandleFn(wp.IndexRender, 10, "wp.IndexRender"))