Fix typo in Hugo docs | functions | partial

This commit is contained in:
John
2024-07-16 09:53:16 -07:00
committed by GitHub
parent 34c97e639c
commit e6e1fea499
+1 -1
View File
@@ -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: