[Radiant] Radiant Core Dev: Page Controller

John W. Long ng at johnwlong.com
Fri Jun 1 13:41:51 CDT 2007


Sean Cribbs wrote:
> One thing I personally would like to maintain 
> about the navigation tag is that it is independent of the site 
> structure.

Agreed. I'm not entirely sure I like the syntax of the new navigation 
tag. I wonder if there is a way to simplify it:

<r:navigation>
   <r:items>
     Web Log: /weblog/
     External Link: http://externalsite.com/
     <r:children:each>
     <r:title />: <r:url />
     </r:children:each>
   </r:items>
   <r:normal><a href="<r:url />"><r:title /></a></r:normal>
   <r:here><a class="here" href="<r:url />"><r:title /></a></r:normal>
   <r:selected>
     <a class="selected" href="<r:url />"><r:title /></a></r:selected>
   <r:between> | </r:between>
</r:navigation>

Just a thought.

--
John Long
http://wiseheartdesing.com



More information about the Radiant mailing list