Changes between Version 96 and Version 97 of GenshiTutorial
- Timestamp:
- Oct 4, 2007, 9:38:35 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GenshiTutorial
v96 v97 130 130 }}} 131 131 132 '' Note: On some Windows systems remove the "©" to avoid the error "TemplateSyntaxError: not well-formed (invalid token): line 14, column 27 (geddit\templates\index.html, line 14)132 '''Note:''' ''make sure you're saving this file using UTF-8 encoding wth your editor. If for some reason you can't use UTF-8 (maybe you're using an outdated editor), replace the “©” character in the template with the corresponding character entity “©”. The same is true for all other template file in this tutorial.'' 133 133 134 134 This is basically an almost static XHTML file with some simple variable substitution: the string `$title` will be replaced by a variable of that name that we'll pass into the template from the controller.