]> oss.titaniummirror.com Git - webber.git/blobdiff - in/pageformat.md
toc.py, hierarchy.py: add new "Hide: true" page attribute
[webber.git] / in / pageformat.md
index c41526b3350f304af5f00cdffc2138e351c7628e..e0324816e30a097f5ed55fe72c25934c03dfeba5 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]].
@@ -115,10 +116,17 @@ name. For convenience, you can ommit "`.tmpl`".
        template: history
 
 
+== hide ==
+
+       hide: true
+
+will hide the generated page from in the plugins [[hierarchy]] and [[toc]].
+
+
 == description ==
 
 Anything you specify here will be accessible in the template as ${description}.
-You can use this for HTML meta information, see [[template_make]].
+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.
 
@@ -126,6 +134,38 @@ 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_make]].
+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