0
@@ -169,12 +169,13 @@ Attribute identifiers cannot contain spaces; they must be separated from their v
0
There are a few attributes that control when, where, and how pages are rendered. These are listed below with a brief description of how the attribute affects the system.
0
-* *d
estination* -- Defines the path in the output directory where the rendered page should be stored.
0
+* *d
irectory* -- Defines the path in the output directory where the rendered page should be stored. If left empty, then the path of the page in the content folder is used as the output directory.
0
* *dirty* -- The dirty flag is used to determine whether the page should rendered or not. Normally this is automatically determined by the filter engine, but it can be overridden by setting this attribute. If the dirty flag is set to _true_ then the page will always be rendered. If the dirty flag is set to _false_ then the page will never be rendered.
0
* *extension* -- Defines the extension that will be appended to the filename of the rendered page in the output folder. The extension is determined by looking at the following:
0
** the meta-data of the current page for an @extension@ attribute
0
** the meta-data of layout file of the current page for an @extension@ attribute
0
** the extension of this page file in the _content_ folder
0
+* *filename* -- The name of the rendered page in the output folder. If left blank, the name of the file in the content folder is used.
0
* *filter* -- Defines the list of filters that will be applied to the contents of this page. If left blank, then the default filter will be applied to the page contents.
0
* *layout* -- Defines the layout that the page contents will be rendered into. The default layout will be used if this attribute is not defined. The value of @nil@ should be specified if the page should not be rendered into any layout.
0
@@ -182,12 +183,11 @@ The following attributes are defined for each page in the content folder. These
0
* *path* -- The full path to the file in the _content_ folder
0
* *dir* -- The relative directory in the output folder where the page will be rendered
0
-* *
filename* -- The name of the file in the _content_ folder excluding any path information
0
+* *
name* -- The name of the file in the _content_ folder excluding any path information
0
* *ext* -- The extension of the file in the _content_ folder
0
* *mtime* -- The modification time of the file in the _content_ folder
0
-* *number* -- Reserved variable used for multi-page content
0
* *url* -- A URL suitable for creating a link to the page
0
-* *
render* -- Returns the contents of the page as rendered by the Webby filter engine0
+* *
destination* -- The path in the output folder where the page will be rendered
Comments
No one has commented yet.