For example, in main.gsp you might have something like this:
<body>
<div class="nav">
<span class="menuButton"><a href="http://www.blogger.com/" class="home">Home</a></span>
<g:pageproperty name="page.extraNav"/>
</div>
<g:layoutbody/>
</body>
Then you can add extra buttons to the nav bar in your pages by adding:
<content tag="extraNav">
<span class="menuButton"><a href="page/create" class="create">New Page</a></span>
</content>
No comments:
Post a Comment