[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=&lt;slot-name&gt;
+metal:define-slot=&lt;slot-name&gt;
 </pre>
 <p>Let's define a very plain page macro:</p>
 <pre class="literal-block">
@@ -148,7 +148,8 @@
 <pre class="literal-block">
 &lt;html metal:use-macro=&quot;context/&#64;&#64;mymacros/mypage&quot;&gt;
   &lt;body&gt;
-    &lt;div metal:fill-slot=&quot;body&quot;&gt;
+    &lt;!-- slot 'mybody' was defined in the macro above --&gt;
+    &lt;div metal:fill-slot=&quot;mybody&quot;&gt;
       My content from index.pt
     &lt;/div&gt;
   &lt;/body&gt;



More information about the Checkins mailing list