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