diff options
Diffstat (limited to 'docs/content/en/templates/partials.md')
-rw-r--r-- | docs/content/en/templates/partials.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/templates/partials.md b/docs/content/en/templates/partials.md index afbad1a6c..34d0a9dda 100644 --- a/docs/content/en/templates/partials.md +++ b/docs/content/en/templates/partials.md @@ -68,7 +68,7 @@ As shown in the above example directory structure, you can nest your directories The second argument in a partial call is the variable being passed down. The above examples are passing the `.`, which tells the template receiving the partial to apply the current [context][context]. -This means the partial will *only* be able to access those variables. The partial is isolated and *has no access to the outer scope*. From within the partial, `$.Var` is equivalent to `.Var`. +This means the partial will *only* be able to access those variables. The partial is isolated and cannot access the outer scope. From within the partial, `$.Var` is equivalent to `.Var`. ## Returning a value from a partial @@ -177,6 +177,6 @@ The following `footer.html` partial template is used for [spf13.com](https://spf [customize]: /hugo-modules/theme-components/ [listtemps]: /templates/lists/ [lookup order]: /templates/lookup-order/ -[partialcached]: /functions/partials/includecached +[partialcached]: /functions/partials/includecached/ [singletemps]: /templates/single-page-templates/ [themes]: /themes/ |