From e6e1fea4997fd17e798d41d83669de4c4011c90b Mon Sep 17 00:00:00 2001 From: John Date: Tue, 16 Jul 2024 09:53:16 -0700 Subject: [PATCH] Fix typo in Hugo docs | functions | partial --- content/en/functions/partials/Include.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/functions/partials/Include.md b/content/en/functions/partials/Include.md index 6da7e33bc..aa93b4090 100644 --- a/content/en/functions/partials/Include.md +++ b/content/en/functions/partials/Include.md @@ -45,7 +45,7 @@ The "breadcrumbs" partial renders [breadcrumb navigation], and needs to receive The "footer" partial renders the site footer. In this contrived example, the footer does not need access to the current page, so we can omit context: ```go-html-template -{{ partial "breadcrumbs.html" }} +{{ partial "footer.html" }} ``` You can pass anything in context: a page, a page collection, a scalar value, a slice, or a map. In this example we pass the current page and three scalar values: