🐛 Fix: pangu.js cdn error

This commit is contained in:
Cell
2022-12-22 22:17:32 +08:00
parent 7e2ae88187
commit 238ec7ac33
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -27,6 +27,7 @@ All notable changes to this project will be documented in this file.
- :bug: Fix: image shortcode/plugin lose the support for svg type files ([#210](https://github.com/hugo-fixit/FixIt/issues/210))
- :bug: Fix: can't keep the static table of the contents in front of the post
- :bug: Fix: escape hashtag character `#` in tag and category ([#245](https://github.com/hugo-fixit/FixIt/issues/245))
- :bug: Fix: pangu.js cdn error
- :globe_with_meridians: Docs(i18n): add missing translations for French + enhancements (@Kapusch[#247](https://github.com/hugo-fixit/FixIt/pull/247))
- :lipstick: Style: refactor css style
- :lipstick: Style: update home page stylesheet
+1 -1
View File
@@ -186,7 +186,7 @@
{{- /* PanguJS */ -}}
{{- if eq .Site.Params.pangu.enable true -}}
{{- $source := $cdn.metingJS | default "lib/pangu/pangu.min.js" -}}
{{- $source := $cdn.panguJS | default "lib/pangu/pangu.min.js" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint "Defer" true | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
{{- $config = dict "pangu" .Site.Params.pangu | merge $config -}}
{{- end -}}