theme: Rename internal templates from partials/ to _partials/

This commit is contained in:
Bjørn Erik Pedersen
2025-04-18 14:56:11 +02:00
parent 727178cbb2
commit b8f888c768
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -196,7 +196,7 @@ either of these shortcodes in conjunction with this render hook.
>{{ .Text }}</a
>
{{- define "partials/inline/h-rh-l/validate-fragment.html" }}
{{- define "_partials/inline/h-rh-l/validate-fragment.html" }}
{{- /*
Validates the fragment portion of a link destination.
@@ -248,7 +248,7 @@ either of these shortcodes in conjunction with this render hook.
{{- end }}
{{- end }}
{{- define "partials/inline/h-rh-l/get-glossary-link-attributes.html" }}
{{- define "_partials/inline/h-rh-l/get-glossary-link-attributes.html" }}
{{- /*
Returns the anchor element attributes for a link to the given glossary term.
+1 -1
View File
@@ -10,7 +10,7 @@
{{ partial "layouts/blocks/modal.html" (dict "modal_button" $qr "modal_content" $qrBig "modal_title" (printf "QR code linking to %s" $.Permalink )) }}
</div>
{{ define "partials/_inline/qr" }}
{{ define "_partials/_inline/qr" }}
{{ $img_class := .img_class | default "w-10" }}
{{ with images.QR $.page.Permalink (dict "targetDir" "images/qr") }}
+1 -1
View File
@@ -359,7 +359,7 @@ When using the padding filter, provide all arguments in this order:
{{- end }}
{{- end }}
{{- define "partials/inline/get-resource.html" }}
{{- define "_partials/inline/get-resource.html" }}
{{- $r := "" }}
{{- $u := urls.Parse .src }}
{{- $msg := "The %q shortcode was unable to resolve %s. See %s" }}