Tells whether a file is a page.
Tells whether a file is a page. A file is a page if its
application contains a file named
The purpose of the isPage method is to provide a convenient way to distinguish between pages and contents, useful when generating the menu (of only pages) or displaying only contents on a page.
Example for marking an app as a page by creating
a file named
.Page in its app.
Example for marking the an anonymous app as
a page - thus the file itself as a page. Because
of the type
app-1 the file becomes an anonymous
app, so the
.Page file will be looked for on the
Get all contents.
Get all pages.