Update layout.md

Fix typo
This commit is contained in:
ilhamdev0
2021-07-25 23:19:10 +08:00
committed by Jun Yang
parent 4fa5313acc
commit 804947ebb9
+2 -2
View File
@@ -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