♻️ Refactor: add underscore to partials and shortcodes directory names (#608)

This commit is contained in:
Cell
2025-06-19 12:29:30 +08:00
committed by GitHub
parent 6123eaac2c
commit a5614505bc
94 changed files with 3 additions and 3 deletions
@@ -7,11 +7,11 @@
{{- end -}}
{{- with .Site.Params.customFilePath -}}
{{- $warns = $warns | append "The parameter `params.customFilePath` is deprecated since v0.3.7, use `layouts/partials/custom.html` instead." -}}
{{- $warns = $warns | append "The parameter `params.customFilePath` is deprecated since v0.3.7, use `layouts/_partials/custom.html` instead." -}}
{{- end -}}
{{- with .Site.Params.footer.custom -}}
{{- $warns = $warns | append "The parameter `params.footer.custom` is deprecated since v0.3.7, use `layouts/partials/custom.html` instead." -}}
{{- $warns = $warns | append "The parameter `params.footer.custom` is deprecated since v0.3.7, use `layouts/_partials/custom.html` instead." -}}
{{- end -}}
{{- with .Site.Params.ibruce -}}
@@ -24,7 +24,7 @@ Parameters:
- CacheRemote: Override the site parameter to cache remote images.
Thanks @HEIGE-PCloud for the original code in the DoIt theme.
https://github.com/HEIGE-PCloud/DoIt/blob/main/layouts/partials/plugin/image.html
https://github.com/HEIGE-PCloud/DoIt/blob/main/layouts/_partials/plugin/image.html
*/ -}}
{{- $isInline := strings.HasPrefix .Src "data:image" -}}