mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
Remove indentation from include shortcode examples
This commit is contained in:
1 parent
97b4ef5442
commit
34b30bad25
2 files changed
+2
-2
No files matched your search
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in new issue
Block a user