Skip to content

Commit d663c06

Browse files
authored
Update pages.md
1 parent b6d1554 commit d663c06

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

  • _help/src/Pages/folders-structure

_help/src/Pages/folders-structure/pages.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ title: Pages folder structure
99

1010
### Pages
1111

12-
Inside `Pages` folder there will be all page files. Each page file is a markdown markup file with some mandatory metadata at the start of the file.
12+
Inside `Pages` folder will be all page files. Each page file is a markdown markup file with some mandatory metadata at the start of the file.
1313

14-
Page file look like this:
14+
Page file looks like this:
1515

1616
```markdown
1717
url: index.html
@@ -31,7 +31,7 @@ custom.logo.url: http://my.com/logo.png
3131

3232
#### url
3333

34-
The `url` attribute is mandatory. It shows under which path output html file will be saved. If you want to save in some specific folder, you can do it by providing the following value for `url` attribute:
34+
The `url` attribute is mandatory. It shows under which path output html file will be saved. If you want to save it in some specific folder, you can do it by providing the following value for `url` attribute:
3535

3636
```markdown
3737
url: blog/posts/2018/Jan/my-awesome-post.html
@@ -41,7 +41,7 @@ url: blog/posts/2018/Jan/my-awesome-post.html
4141

4242
The `template` attribute is mandatory. It shows which template should be used to render current page. For now only flat structure is supported, so you can reference templates only from root of `Layout` folder.
4343

44-
You can use other synonimous for `template` attribute which are `TemplateId`, `Layout`, `LayoutId`. All those synonymous are case insensitive.
44+
You can use other synonims for `template` attribute which are `TemplateId`, `Layout`, `LayoutId`. All those synonyms are case-insensitive.
4545

4646
> More details about templates / layouts can be found in the dedicated [layout](/folders-structure/layout.html) section.
4747
@@ -58,12 +58,12 @@ If predefined attributes are not enough and you want to add some extra attribute
5858
5959
### Data model
6060

61-
In case you want to use the same template, but use different data for it you can use page data model. The scenario here is to have different data (in terms of value) with the same structure on different pages. The name of page data model should start with `model` followed by `.`. After that you should add at least one character that will represent the name of your data model. The value of `model` should always point to valid `data` object.
61+
In case you want to use the same template, but use different data for it, you can use page data model. The scenario here is to have different data (in terms of values) with the same structure on different pages. The name of page data model should start with `model` followed by `.`. After that you should add at least one character that will represent the name of your data model. The value of `model` should always point to valid `data` object.
6262

6363
> More advanced details about how to work with data can be found in [page data model](/folders-structure/pages/model.html) section.
6464
6565
### Custom attributes vs data model
6666

67-
The main difference between custom attributes and data model is how they interpreter the values you provide.
68-
- **Custom attributes** always threat all the values like strings.
69-
- **Data model** always threat all the values like reference to global `Data` model. It will copy all the values from referenced `Data` object to current `Model` object.
67+
The main difference between custom attributes and data model is how they interprete the values you provide.
68+
- **Custom attributes** always treat all the values as strings.
69+
- **Data model** always treats all the values as references to global `Data` model. It will copy all the values from referenced `Data` object to current `Model` object.

0 commit comments

Comments
 (0)