mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 15:58:53 +00:00
content: Fix search/replace errors
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
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: []
|
||||
keywords: []
|
||||
params:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
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: []
|
||||
keywords: []
|
||||
params:
|
||||
|
||||
@@ -14,7 +14,7 @@ aliases: [/functions/templates.defer]
|
||||
{{< new-in 0.128.0 />}}
|
||||
|
||||
> [!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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user