mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update page-type-templates.md
This commit is contained in:
parent
a5dd2434c0
commit
a5d69f2bf5
@ -137,7 +137,7 @@ To simply retrieve the parent page of the current context (if existing), use the
|
|||||||
### Access to a specific Page
|
### Access to a specific Page
|
||||||
|
|
||||||
:::ss
|
:::ss
|
||||||
<% loop $Page(my-page) %>...<% end_loop %>`
|
<% with $Page(my-page) %>...<% end_with %>`
|
||||||
|
|
||||||
"Page" will return a single page from the site tree, looking it up by URL. You can use it in the `<% loop %>` format.
|
"Page" will return a single page from the site tree, looking it up by URL. You can use it in the `<% loop %>` format.
|
||||||
Can't be called using `$Page(my-page).Title`.
|
Can't be called using `$Page(my-page).Title`.
|
||||||
|
Loading…
Reference in New Issue
Block a user