mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 04:10:40 -07:00
Update layout.md
Fix typo
This commit is contained in:
@@ -12,7 +12,7 @@ Renders current template inside a layout template from the template [roots][root
|
||||
{% layout 'footer.liquid' %}
|
||||
```
|
||||
|
||||
Whe the [extname][extname] option is set, the above `.liquid` extension can be omitted and writes:
|
||||
When the [extname][extname] option is set, the above `.liquid` extension can be omitted and writes:
|
||||
|
||||
```liquid
|
||||
{% layout 'footer' %}
|
||||
@@ -31,7 +31,7 @@ Variables defined in current template can be passed to a the layout template by
|
||||
|
||||
## Blocks
|
||||
|
||||
The layout file can contain multiple `block`s which will be populated by the child template (the caller). For example we have a `default-layout.liquid` file with the following contents:
|
||||
The layout file can contain multiple `blocks` which will be populated by the child template (the caller). For example we have a `default-layout.liquid` file with the following contents:
|
||||
|
||||
```
|
||||
Header
|
||||
|
||||
Reference in New Issue
Block a user