[Checkins] SVN: grok/branches/regebro-guido-templates/doc/minitutorials/template-languages.txt Doc fix.

Lennart Regebro regebro at gmail.com
Mon Oct 8 10:38:21 EDT 2007


Log message for revision 80716:
  Doc fix.
  

Changed:
  U   grok/branches/regebro-guido-templates/doc/minitutorials/template-languages.txt

-=-
Modified: grok/branches/regebro-guido-templates/doc/minitutorials/template-languages.txt
===================================================================
--- grok/branches/regebro-guido-templates/doc/minitutorials/template-languages.txt	2007-10-08 13:28:29 UTC (rev 80715)
+++ grok/branches/regebro-guido-templates/doc/minitutorials/template-languages.txt	2007-10-08 14:38:20 UTC (rev 80716)
@@ -6,10 +6,10 @@
 
 Introduction
 ------------
-Grok uses the same Zope Page Templates as default templating language, since
-this is the default of Zope 3. Of course you can use whatever templating
-language you want in Grok, but to get the automatic association between
-template objects/files and views you need to do a little bit of extra work.
+Grok uses Zope Page Templates as default templating language, since this is
+the default of Zope 3. Of course you can use whatever templating language you
+want in Grok, but to get the automatic association between template
+objects/files and views you need to do a little bit of extra work.
 
 Inline templates
 ----------------
@@ -123,6 +123,8 @@
 annotation. Lastly you need to choose an extension for your template files,
 and set the grok.name to that extension:
 
+.. code-block:: python
+
     class MyPageTemplateFile(grok.components.GrokPageTemplate):
     
         zope.interface.implements(grok.interfaces.ITemplateFile)



More information about the Checkins mailing list