Created
March 18, 2009 20:35
-
-
Save rtyler/81384 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################### base.tmpl ####################### | |
#from Cheetah import Template | |
#extends Template.Template | |
#def sidebar() | |
#end def | |
#def footer() | |
#end def | |
#def header() | |
#end def | |
#def canvas() | |
#end def | |
$header() | |
<!-- other markup and such goes here --> | |
$sidebar() | |
$canvas() | |
<!-- other markup and such goes here --> | |
$footer() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################### subclass.tmpl ####################### | |
#import base | |
#extends base.base | |
#def canvas() | |
This is my page specific canvas method! With my canvas markup :D | |
#end def |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment