[Twisted-Python] Keeping the same design sitewide?
![](https://secure.gravatar.com/avatar/efc54f9b54aec470d423475e8bc16370.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/44e3f98a2f3b7213d5f14b558a849dd2.jpg?s=120&d=mm&r=g)
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:
![](https://secure.gravatar.com/avatar/44e3f98a2f3b7213d5f14b558a849dd2.jpg?s=120&d=mm&r=g)
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:
participants (2)
-
Matt Goodall
-
Thomas Weholt