mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
🐛 Fix: watermark.enable judge error
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
{{- end -}}
|
||||
|
||||
{{- /* Watermark */ -}}
|
||||
{{- if eq .Site.Params.enablePWA true -}}
|
||||
{{- if eq .Site.Params.watermark.enable true -}}
|
||||
{{- $source := "lib/watermark/watermark.min.js" -}}
|
||||
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user