mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +00:00
Fix typo
This commit is contained in:
1 parent
ad2a82fbdd
commit
c7e86f0cfe
1 file changed
+1
-3
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: partials.IncludeCached
|
title: partials.IncludeCached
|
||||||
description: Executes the given template and caches the result, optionally passing context. If the partial template contains a return statement, returns teh 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: []
|
||||||
action:
|
action:
|
||||||
@@ -20,8 +20,6 @@ aliases: [/functions/partialcached]
|
|||||||
|
|
||||||
Without a [`return`] statement, the `partialCached` function returns a string of type `template.HTML`. With a `return` statement, the `partialCached` function can return any data type.
|
Without a [`return`] statement, the `partialCached` function returns a string of type `template.HTML`. With a `return` statement, the `partialCached` function can return any data type.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
The `partialCached` function can offer significant performance gains for complex templates that don't need to be re-rendered on every invocation.
|
The `partialCached` function can offer significant performance gains for complex templates that don't need to be re-rendered on every invocation.
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
|
|||||||
Reference in new issue
Block a user