📝 Docs(ignore): update memo

This commit is contained in:
Cell
2024-08-29 10:54:50 +08:00
parent ede47a2bae
commit 64529c99c8
3 changed files with 2 additions and 4 deletions
@@ -1,5 +1,6 @@
{{- $content := .Content -}}
{{- /* If Hugo Support AES, refactor with AES. */ -}}
{{- if .Password -}}
{{- $saltLen := strings.RuneCount (trim .Password " ") -}}
{{- $saltLen = cond (eq (mod $saltLen 2) 0) (add $saltLen 1) $saltLen -}}
+1 -1
View File
@@ -1,4 +1,4 @@
{{- .Scratch.Set "version" "v0.3.10-b7ed9cac" -}}
{{- .Scratch.Set "version" "v0.3.10-ede47a2b" -}}
{{- .Scratch.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}
@@ -1,5 +1,3 @@
{{- /* If Hugo Support AES, refactor with AES. */ -}}
{{- if .Password -}}
{{- /* Content Encryption */ -}}
{{- $content := dict "Content" .Content "Password" .Password | partial "function/content-encryption.html" -}}
@@ -30,4 +28,3 @@
<cipher-text data-password="{{ xxhash .Password }}">{{ $content }}</cipher-text>
</fixit-encryptor>
{{- end -}}