Saturday, December 7, 2013 at 11:22 AM

Including a menu in an html page

If you want to include a menu in a page whose type is html, you have to use the <%useMenu ()%> macro instead of <%menu%>. Otherwise any macros in the menu text will not be evaluated.

There's a technical reason for this. Any macros in a template will be evaluated as the template is included. Since the menu inclusion is coming from the text of the page, any macros it contains will not be evaluated. That's what useMenu does for you.


Last built: Tue, Dec 9, 2014 at 3:29 PM

By Dave Winer, Saturday, December 7, 2013 at 11:22 AM. So, it has come to this.