Skip to content

Commit

Permalink
🐛 Fix: fix fixit-encryptor shortcode invalid
Browse files Browse the repository at this point in the history
Fixes #410
Fixes #429
Caused by #420
  • Loading branch information
Lruihao committed Apr 24, 2024
1 parent 79b5c27 commit 6c83d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/assets.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
{{- end -}}

{{- /* Content Decryption */ -}}
{{- $encryptPartial := (.Scratch.Get "this").encryptPartial -}}
{{- $encryptPartial := .HasShortcode "fixit-encryptor" -}}
{{- if $params.password | or $encryptPartial -}}
{{- $cryptoCoreJS := $cdn.cryptoCoreJS | default "lib/crypto-js/core.js" -}}
{{- $cryptoEncBase64JS := $cdn.cryptoEncBase64JS | default "lib/crypto-js/enc-base64.js" -}}
Expand Down

0 comments on commit 6c83d06

Please sign in to comment.