[Checkins] SVN: grok/www/minitutorials/macros.html Fixed lies in
macros-howto.
Uli Fouquet
uli at gnufix.de
Wed Jul 18 06:16:37 EDT 2007
Log message for revision 78101:
Fixed lies in macros-howto.
Changed:
U grok/www/minitutorials/macros.html
-=-
Modified: grok/www/minitutorials/macros.html
===================================================================
--- grok/www/minitutorials/macros.html 2007-07-18 10:12:11 UTC (rev 78100)
+++ grok/www/minitutorials/macros.html 2007-07-18 10:16:36 UTC (rev 78101)
@@ -88,7 +88,7 @@
</pre>
<p>and the slots therein with:</p>
<pre class="literal-block">
-metal:define-slots=<slot-name>
+metal:define-slot=<slot-name>
</pre>
<p>Let's define a very plain page macro:</p>
<pre class="literal-block">
@@ -148,7 +148,8 @@
<pre class="literal-block">
<html metal:use-macro="context/@@mymacros/mypage">
<body>
- <div metal:fill-slot="body">
+ <!-- slot 'mybody' was defined in the macro above -->
+ <div metal:fill-slot="mybody">
My content from index.pt
</div>
</body>
More information about the Checkins
mailing list