mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 00:03:34 -05:00
docs: Fix grammar in templates/partials.md
Noticed this sentence seemingly missing a word or two.
This commit is contained in:
parent
fed5f20f89
commit
215b8939bd
1 changed files with 1 additions and 1 deletions
|
@ -122,6 +122,6 @@ As you might have noticed, `partial` calls receive two paramters.
|
||||||
location to be read.
|
location to be read.
|
||||||
2. The second is the variables to be passed down to the partial.
|
2. The second is the variables to be passed down to the partial.
|
||||||
|
|
||||||
This means the partial _only_ be able to access those variables. It is
|
This means that the partial will _only_ be able to access those variables. It is
|
||||||
isolated and has no access to the outer scope. From within the
|
isolated and has no access to the outer scope. From within the
|
||||||
partial, `$.Var` is equivalent to `.Var`
|
partial, `$.Var` is equivalent to `.Var`
|
||||||
|
|
Loading…
Reference in a new issue