[Twisted-Python] Keeping the same design sitewide?
Hi, I was wondering how I can use Woven and keep the overall "sceleton" of my design in one file and wrap that around my templates at run-time? I mean, I want to create one page which links to my stylesheet, displays a logo, some header-text and a footer that will be the same site wide, and then just glue what the different pages generate into the sceleton-file. Any clues on how to keep the design in one file and still use Woven? Thomas
It sounds like you need twisted.web.woven.widgets.ExpandMacro. See http://www.twistedmatrix.com/pipermail/twisted-python/2003-June/004662.html for an example. - Matt On Sun, 2003-06-29 at 23:39, Thomas Weholt wrote:
Hi,
I was wondering how I can use Woven and keep the overall "sceleton" of my design in one file and wrap that around my templates at run-time? I mean, I want to create one page which links to my stylesheet, displays a logo, some header-text and a footer that will be the same site wide, and then just glue what the different pages generate into the sceleton-file.
Any clues on how to keep the design in one file and still use Woven?
Thomas -- Matt Goodall, Pollenation Internet Ltd w: http://www.pollenation.net e: matt@pollenation.net
participants (2)
-
Matt Goodall
-
Thomas Weholt