🐛 Fixed the 51la widget display none.

This commit is contained in:
elkan1788
2023-07-18 11:56:38 +08:00
parent 9453520e2a
commit db7095c0bb
3 changed files with 3 additions and 3 deletions

View File

@@ -82,7 +82,7 @@
{{ end }}
{{/* Other not useful scripts, eg: 51la widget, translate */}}
{{ with .Site.Params.siteState.statistic }}
{{ with .Site.Params.siteState.views }}
{{ if and .enable (eq .plugin "51la") }}
{{ $lawt := resources.Get "js/third-party/others/lawidget.js" }}
{{ $nextjs = $nextjs | append $lawt }}