mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
♻️ Refactor: add underscore to partials and shortcodes directory names (#608)
This commit is contained in:
+2
-2
@@ -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" -}}
|
||||
Reference in New Issue
Block a user