Skip to content

Commit c55c99d

Browse files
authored
Update attributes.md
1 parent d663c06 commit c55c99d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If predefined attributes are not enough and you want to add some extra attribute
1616

1717
All attributes can be accessible through global `Page` object. That object is accessible from each and every template and it always has a context of current page.
1818

19-
You can access predefined page attributes via `Page.Title`, `Page.Url`, `Page.TemplateId` and `Page.Content` for page html content. All properties of global `Page` object are case sensitive.
19+
You can access predefined page attributes via `Page.Title`, `Page.Url`, `Page.TemplateId` and `Page.Content` for page html content. All properties of global `Page` object are case-sensitive.
2020

2121
You can access custom page attributes via properties of `Page.Custom` object. It will have all the properties defined in page metadata section.
2222

@@ -40,10 +40,10 @@ custom.logo.url: http://my.com/logo.png
4040

4141
You can access logo url using the following statement `Page.Custom.logo.url`.
4242

43-
There is one important point to highlight here. `Page.Custom` is predifened and case sensitive, but `logo.url` was generated dynamicaly from page metadata and it's also case sensitive.
43+
There is one important point to highlight here. `Page.Custom` is predifened and case-sensitive, but `logo.url` was generated dynamicaly from page metadata and it's also case-sensitive.
4444

4545
### Custom attributes vs data model
4646

47-
The main difference between custom attributes and data model is how they interpreter the values you provide.
48-
- **Custom attributes** always threat all the values like strings.
49-
- **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.
47+
The main difference between custom attributes and data model is how they interprete the values you provide.
48+
- **Custom attributes** always treat all values as strings.
49+
- **Data model** always treats 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)