mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 18:04:45 -04:00
content: Fix search/replace errors
This commit is contained in:
parent
fba8342a8d
commit
22fb436953
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: partials.Include
|
title: partials.Include
|
||||||
description: Executes the given , optionally passing context. If the contains a return statement, returns the given value, else returns the rendered output.
|
description: Executes the given template, optionally passing context. If the partial template contains a return statement, returns the given value, else returns the rendered output.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
params:
|
params:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: partials.IncludeCached
|
title: partials.IncludeCached
|
||||||
description: Executes the given template and caches the result, optionally passing context. If the contains a return statement, returns the given value, else returns the rendered output.
|
description: Executes the given template and caches the result, optionally passing context. If the partial template contains a return statement, returns the given value, else returns the rendered output.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
params:
|
params:
|
||||||
|
@ -14,7 +14,7 @@ aliases: [/functions/templates.defer]
|
|||||||
{{< new-in 0.128.0 />}}
|
{{< new-in 0.128.0 />}}
|
||||||
|
|
||||||
> [!note]
|
> [!note]
|
||||||
> This feature should only be used in the main template, typically `layouts/baseof.html`. Using it in shortcodes, partials, or _render hook_ templates may lead to unpredictable results. For further details, please refer to [this issue].
|
> This feature should only be used in the main template, typically `layouts/baseof.html`. Using it in _shortcode_, _partial_, or _render hook_ templates may lead to unpredictable results. For further details, please refer to [this issue].
|
||||||
|
|
||||||
[this issue]: https://github.com/gohugoio/hugo/issues/13492#issuecomment-2734700391
|
[this issue]: https://github.com/gohugoio/hugo/issues/13492#issuecomment-2734700391
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user