From 22fb436953a210efca5c9f2509ab9bae385b5f1a Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Wed, 13 Aug 2025 07:57:51 -0700 Subject: [PATCH] content: Fix search/replace errors --- content/en/functions/partials/Include.md | 2 +- content/en/functions/partials/IncludeCached.md | 2 +- content/en/functions/templates/Defer.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/functions/partials/Include.md b/content/en/functions/partials/Include.md index 8551366da..fe4b6c5bd 100644 --- a/content/en/functions/partials/Include.md +++ b/content/en/functions/partials/Include.md @@ -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: diff --git a/content/en/functions/partials/IncludeCached.md b/content/en/functions/partials/IncludeCached.md index 4d1167803..b80aaf8a1 100644 --- a/content/en/functions/partials/IncludeCached.md +++ b/content/en/functions/partials/IncludeCached.md @@ -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: diff --git a/content/en/functions/templates/Defer.md b/content/en/functions/templates/Defer.md index fa666c731..9acb91405 100644 --- a/content/en/functions/templates/Defer.md +++ b/content/en/functions/templates/Defer.md @@ -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