Skip to content

Commit b60b200

Browse files
authored
Update model.md
1 parent 54c4abc commit b60b200

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • _help/src/Pages/folders-structure/pages

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: Pages data model
99

1010
### Data model
1111

12-
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.
12+
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.
1313

1414

1515
#### Page object
@@ -104,10 +104,10 @@ Finally, the html rendered by Solidify Engine will look like this:
104104
```
105105

106106

107-
There is one important point to highlight here. `Page.Model` is predifened and case sensitive, but `goods` was generated dynamicaly from page metadata and it's also case sensitive.
107+
There is one important point to highlight here. `Page.Model` is predifened and case-sensitive, but `goods` was generated dynamicaly from page metadata and it's also case-sensitive.
108108

109109
### Custom attributes vs data model
110110

111-
The main difference between custom attributes and data model is how they interpreter the values you provide.
112-
- **Custom attributes** always threat all the values like strings.
113-
- **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.
111+
The main difference between custom attributes and data model is how they interprete the values you provide.
112+
- **Custom attributes** always treats all values as strings.
113+
- **Data model** always treat all values as references to global `Data` model. It will copy all values from referenced `Data` object to current `Model` object.

0 commit comments

Comments
 (0)