Remove indentation from include shortcode examples

This commit is contained in:
Joe Mooring
2024-12-20 08:56:38 -08:00
committed by GitHub
parent 97b4ef5442
commit 34b30bad25
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ For example:
{{< code file=layouts/shortcodes/include.html >}}
{{ with .Get 0 }}
{{ with $.Page.GetPage . }}
{{ .RenderShortcodes }}
{{- .RenderShortcodes }}
{{ else }}
{{ errorf "The %q shortcode was unable to find %q. See %s" $.Name . $.Position }}
{{ end }}
+1 -1
View File
@@ -11,7 +11,7 @@ The primary use case for `PageInner` is to resolve links and [page resources] re
{{< code file=layouts/shortcodes/include.html >}}
{{ with .Get 0 }}
{{ with $.Page.GetPage . }}
{{ .RenderShortcodes }}
{{- .RenderShortcodes }}
{{ else }}
{{ errorf "The %q shortcode was unable to find %q. See %s" $.Name . $.Position }}
{{ end }}