[Checkins] SVN: grok/trunk/doc/minitutorials/macros.txt Fixed wrong
slotname in example.
Uli Fouquet
uli at gnufix.de
Tue Aug 28 11:25:33 EDT 2007
Log message for revision 79307:
Fixed wrong slotname in example.
Changed:
U grok/trunk/doc/minitutorials/macros.txt
-=-
Modified: grok/trunk/doc/minitutorials/macros.txt
===================================================================
--- grok/trunk/doc/minitutorials/macros.txt 2007-08-28 12:35:57 UTC (rev 79306)
+++ grok/trunk/doc/minitutorials/macros.txt 2007-08-28 15:25:33 UTC (rev 79307)
@@ -71,7 +71,7 @@
metal:define-slot=<slot-name>
-Let's define a very plain page macro:
+Let's define a very plain page macro in ``app_templates/mymacros.pt``:
.. code-block:: html
@@ -140,8 +140,8 @@
<html metal:use-macro="context/@@mymacros/mypage">
<body>
- <!-- slot 'mybody' was defined in the macro above -->
- <div metal:fill-slot="mybody">
+ <!-- slot 'mycontent' was defined in the macro above -->
+ <div metal:fill-slot="mycontent">
My content from index.pt
</div>
</body>
More information about the Checkins
mailing list