-
Notifications
You must be signed in to change notification settings - Fork 34
Pages
scudco edited this page Sep 13, 2010
·
3 revisions
- Pages belong to Sites
- When aggregated together Pages can account for a majority of the functionality of a Site
- Pages have Elements and Filters to define functionality and state
- Pages’ common elements can be pushed out into Partials
To generate a page run the following generator inside your Taza project directory:
$ ./script/generate page home google
Which will generate something that will look like:
module Google
class HomePage < Taza::Page
end
end
You must have a site before you can generate any pages. See the Sites wiki entry for more information.