Changes between Version 109 and Version 110 of GenshiTutorial
- Timestamp:
- Feb 21, 2008, 8:41:27 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GenshiTutorial
v109 v110 233 233 }}} 234 234 235 You'll need to import those classes in `geddit/controller s.py`, just below the other imports:235 You'll need to import those classes in `geddit/controller.py`, just below the other imports: 236 236 237 237 {{{ … … 590 590 591 591 def output(filename, method='html', encoding='utf-8', **options): 592 """Decorator for exposed methods to specify what template the should use592 """Decorator for exposed methods to specify what template they should use 593 593 for rendering, and which serialization method and options should be 594 594 applied. … … 747 747 #!genshi 748 748 <title py:with="title = list(select('title/text()'))"> 749 geddit<py:if test="title">: ${title}</py:if>749 Geddit<py:if test="title">: ${title}</py:if> 750 750 </title> 751 751 }}}