]> oss.titaniummirror.com Git - webber.git/blobdiff - in/pageformat.md
fix some links
[webber.git] / in / pageformat.md
index f1bfa506a3b7f705e11ae00ac1595421ae6ac243..dd477c1b1bc3adf085377b3984342dcfe95292f1 100644 (file)
@@ -1,6 +1,7 @@
 title: Page format
-parent: Home
+parent: Webber
 ctime: 2009-06-26
+mtime: 2009-06-26
 
 Every page contains a header, then a blank line, and then the text that
 should show up in the web page.
@@ -24,7 +25,7 @@ by "`file.XXXX`" and you're free to invent your own keywords:
        subtitle: What you should know about this web-site
 
        Hi, I'm Mario and I won't tell you more about me :-)
-       
+
 Now you can access "`${file.subtitle}`" in your template and as
 "`params.file.subtitle`" in your own [[macros|macros]] or
 [[functions|functions]].
@@ -94,7 +95,7 @@ the document creation date/time. Examples:
 If you don't specify this, then the documents "`mtime`" will be used instead.
 
 
-== mtime
+== mtime ==
 
 Here you can specify an ISO formatted date and or time specifier, which contains
 the document modification date/time. Examples:
@@ -106,3 +107,58 @@ If you don't specify this, then the "last-modified"-time from the file-system
 will be used instead.
 
 
+== template ==
+
+Allows you to override the default template. Just specify the pure file
+name. For convenience, you can ommit "`.tmpl`".
+
+       title: Blog
+       template: history
+
+
+== description ==
+
+Anything you specify here will be accessible in the template as ${description}.
+You can use this for HTML meta information, see [[template_mako]].
+
+If you don't specify a description, then ${description} will be the empty string.
+
+
+== keywords ==
+
+Anything you specify here will be accessible in the template as ${keywords}.
+You can use this for HTML meta information, see [[template_mako]].
+
+If you don't specify a description, then ${keywords} will be the empty string.
+
+
+== main_url ==
+
+Used by [[google_sitemap]]:
+
+Internally, [[Webber]] works with relative URLs and is quite agonistic about
+the final website. However, the [[google_sitemap]] plugin needs absolute URLs,
+complete with host name. So we need this configuration ...
+
+Used by [[google_sitemap]]:
+
+
+== sitemap_priority ==
+
+Used by [[google_sitemap]] to specify a relative important-ness of a page.
+Should be between "`0.0`" and "`1.0`" (including).
+
+
+== sitemap_changefreq ==
+
+Used by [[google_sitemap]] as an estimate about how often a page might change.
+
+Should be one of the following values:
+
+* always
+* hourly
+* daily
+* weekly
+* monthly
+* yearly
+* never