ctime: 2009-06-24
mtime: 2009-06-24
-* [[overview]]
* [[pageformat]]
* [[configuration]]
* [[commandline]]
title: Overview
parent: Webber
ctime: 2009-06-24
+hide: true
*Webber* is a static web-site generation tool, loosely based on ideas
from IkiWiki and my own likings.
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}.
@set_hook("scan")
def scan(params):
file = params["file"]
+
+ # Ignore hidden pages
+ if file.has_key("hide") and file.hide:
+ return
+
if file.has_key("links"):
memorize_links(file.linktitle, file.links)
if file.has_key("parent"):
_labels = {}
_first = -1
+ # Ignore hidden pages
+ if params.file.has_key("hide") and params.file.hide:
+ return
+
# Very small pages don't need a table-of-contents
if params.file.contents.count("\n") < toc_min_lines:
return