diff options
author | R. Tyler Ballance <tyler@slide.com> | 2009-04-05 19:54:24 -0700 |
---|---|---|
committer | R. Tyler Ballance <tyler@slide.com> | 2009-04-05 19:54:24 -0700 |
commit | bc86c9d528452128459b70948f53c4459bc358b5 (patch) | |
tree | 19fa0a52af81bff52bc4cdc79b32baccb5031b5d | |
parent | dfe45eba3329c1ab9004cad1b389a7e7ebb35ec6 (diff) | |
download | python-cheetah-bc86c9d528452128459b70948f53c4459bc358b5.tar.gz |
Start toying around with using Cheetah + Markdown for a git-based wiki
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
-rw-r--r-- | Home.tmpl | 10 | ||||
-rw-r--r-- | WikiRoot.tmpl | 36 |
2 files changed, 46 insertions, 0 deletions
diff --git a/Home.tmpl b/Home.tmpl new file mode 100644 index 0000000..6ca2554 --- /dev/null +++ b/Home.tmpl @@ -0,0 +1,10 @@ +#import WikiRoot +#extends WikiRoot.WikiRoot + +#def pagename() + #return 'Home' +#end def + +#def content() + #return '' +#end def diff --git a/WikiRoot.tmpl b/WikiRoot.tmpl new file mode 100644 index 0000000..d9ad9b3 --- /dev/null +++ b/WikiRoot.tmpl @@ -0,0 +1,36 @@ +#from Cheetah.Filters import Markdown +#from Cheetah.Template import Template +#extends Template +#transform Markdown +#implements respond + +<html> +<head> +<title>Community Cheetah Wiki - $pagename()</title> +</head> +<body> + +$header() + +$content() + +$footer() + + +</body></html> + +#def pagename() + #return "WikiRoot" +#end def + +#def header() + #return '' +#end def + +#def footer() + #return '' +#end def + +#def content() + #return '' +#end def |