Example #1
0
 def make_page_template(self,default):
   pt =self.tiddlers["PageTemplate"]
   engine= Templatifier(self.environ,self.bag,tiddlers=self.tiddlers,default=default)
   pt= engine.run(u"<template>"+pt.text+"</template>",pt)
   self.marked_tiddlers = getattr(engine,"marked_tiddlers")
   self.tiddlers = engine.tiddlers
   return "<noscript>%s</noscript>"%pt
Example #2
0
 def make_page_template(self,default):
   pt =self.tiddlers["PageTemplate"]
   engine= Templatifier(self.environ,self.bag,tiddlers=self.tiddlers,default=default)
   return engine.run(u"<template>"+pt.text+"</template>",pt)