diff options
Diffstat (limited to 'exampleSite/content/en/documentation/reference/functions/tpl/partials/partials/index.md')
-rw-r--r-- | exampleSite/content/en/documentation/reference/functions/tpl/partials/partials/index.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/content/en/documentation/reference/functions/tpl/partials/partials/index.md b/exampleSite/content/en/documentation/reference/functions/tpl/partials/partials/index.md index 9d8a704..5039a94 100644 --- a/exampleSite/content/en/documentation/reference/functions/tpl/partials/partials/index.md +++ b/exampleSite/content/en/documentation/reference/functions/tpl/partials/partials/index.md @@ -30,7 +30,7 @@ hugoSymbol: TODO ## partials.Include {#partials_namespace_include} -\([string](/documentation/reference/gotypes/#string)[](/documentation/reference/objects//)\) → [any](/documentation/reference/gotypes/#any) +\(,[string](/documentation/reference/gotypes/#string),[...any](/documentation/reference/objects//...any)\) → [any](/documentation/reference/gotypes/#any) {.funcsig} Include executes the named partial. If the partial contains a return statement, that value will be returned. @@ -50,7 +50,7 @@ Note that ctx is provided by Hugo, not the end user. ## partials.IncludeCached {#partials_namespace_includecached} -\([string](/documentation/reference/gotypes/#string)[any](/documentation/reference/gotypes/#any)[](/documentation/reference/objects//)\) → [any](/documentation/reference/gotypes/#any) +\(,[string](/documentation/reference/gotypes/#string),[any](/documentation/reference/gotypes/#any),[...any](/documentation/reference/objects//...any)\) → [any](/documentation/reference/gotypes/#any) {.funcsig} IncludeCached executes and caches partial templates. The cache is created with name+variants as the key. Note that ctx is provided by Hugo, not the end user. |