Files
Batflat/inc/modules/pages/ReadMe.md
2018-03-12 13:23:44 +01:00

18 lines
415 B
Markdown

`{$page.title}` — displays the title of the page
`{$page.desc}` — displays the page description
`{$page.content}` — displays the contents of the page
`{$pages}` — array with the data of all pages
`{$pages.ID}` — array with the data of specific page
If you want to make a "one page" website, you can use the loop:
```
{loop: $pages}
<h1>{$value.title}</h1>
<p>{$value.content}</p>
{/loop}
```