🐛 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

@ -1 +1 @@
4.5.2
4.5.3

View File

@ -1,5 +1,5 @@
# Hugo NexT theme's custom config
version: 4.5.2
version: 4.5.3
domain: hugo-next.eu.org

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 }}