Skip to content

Commit

Permalink
📝 Docs(ignore): update memo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Aug 29, 2024
1 parent ede47a2 commit 64529c9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions layouts/partials/function/content-encryption.html
Original file line number Diff line number Diff line change
@@ -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 -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/init/index.html
Original file line number Diff line number Diff line change
@@ -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" . -}}
Expand Down
3 changes: 0 additions & 3 deletions layouts/partials/plugin/fixit-encryptor.html
Original file line number Diff line number Diff line change
@@ -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" -}}
Expand Down Expand Up @@ -30,4 +28,3 @@
<cipher-text data-password="{{ xxhash .Password }}">{{ $content }}</cipher-text>
</fixit-encryptor>
{{- end -}}

0 comments on commit 64529c9

Please sign in to comment.