aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/templates/partials.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/templates/partials.md')
-rw-r--r--docs/content/en/templates/partials.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/content/en/templates/partials.md b/docs/content/en/templates/partials.md
index d23622ded..a1030f6aa 100644
--- a/docs/content/en/templates/partials.md
+++ b/docs/content/en/templates/partials.md
@@ -99,7 +99,7 @@ Value: {{ partial "my-inline-partial" . }}
### Example GetFeatured
```go-html-template
{{/* layouts/partials/GetFeatured.html */}}
-{{ return first . (where site.RegularPages ".Params.featured" true) }}
+{{ return first . (where site.RegularPages "Params.featured" true) }}
```
```go-html-template
@@ -175,7 +175,6 @@ The following `header.html` partial template is used for [spf13.com](https://spf
{{ partial "head_includes.html" . }}
</head>
-<body lang="en">
{{< /code >}}
{{% note %}}