docs: update theme documentation links

This commit is contained in:
Cell
2026-07-13 14:20:28 +08:00
parent b95a29e6e4
commit 874337f7d1
29 changed files with 49 additions and 51 deletions
@@ -1,11 +1,9 @@
{{- if eq .Site hugo.Sites.Default -}}
{{- $encryptedPages := slice -}}
{{- range .Site.RegularPages -}}
{{- if or .Params.password (.Store.Get "hasEncryptor") -}}
{{- $encryptedPages = $encryptedPages | append (printf " • %s: %s" .Title .Permalink) -}}
{{- end -}}
{{- end -}}
{{- with $encryptedPages -}}
{{- warnf "[FixIt] %s\n%s\n%s" (T "single.encryptionWarning") (delimit . "\n") (T "single.encryptionCommand") -}}
{{- $encryptedPages := slice -}}
{{- range .Site.RegularPages -}}
{{- if or .Params.password (.Store.Get "hasEncryptor") -}}
{{- $encryptedPages = $encryptedPages | append (printf " • %s: %s" .Title .Permalink) -}}
{{- end -}}
{{- end -}}
{{- with $encryptedPages -}}
{{- warnf "[FixIt] %s\n%s\n%s" (T "single.encryptionWarning") (delimit . "\n") (T "single.encryptionCommand") -}}
{{- end -}}
+1 -1
View File
@@ -1,4 +1,4 @@
{{- hugo.Store.Set "version" "v1.0.0-mrgtrffv" -}}
{{- hugo.Store.Set "version" "v1.0.0-mriu2jcf" -}}
{{- .Store.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}
+1 -1
View File
@@ -6,7 +6,7 @@
@param {String} [.Title] - The title of the admonition box
@param {Boolean} [.Open] - Whether the admonition box is open, default is true
@param {Boolean} [.Foldable] - Whether the admonition box is foldable, default is true
For custom admonitions, see https://fixit.lruihao.cn/documentation/content-management/shortcodes/extended/admonition/#customize-admonitions
For custom admonitions, see https://fixit.lruihao.cn/docs/content-management/shortcodes/extended/admonition/#customize-admonitions
*/ -}}
{{- $iconMap := dict