mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
📝 Docs(ignore): update memo
This commit is contained in:
@@ -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,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 -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user