Hello all, I'm learning hobo documentation,
Just like any common site, the front page needs to be display like this:
****navigation
****sub_navigation
content is like this: serveral columns
x y z
and each column is combined with different height row:
like x have x1,x2
like z have z1,z2
and y is also split up into two columns, two rows:
y1 y2
y3 y4
what's the effienent way of implementing layout like this?
besides, what's good way of implementing sub_nav?
I put this into application.dryml and it seemed to work
<def tag='sub-nav'>
<ul class='navigation sub-nav' merge-attrs>
<nav-item href="#{base_url}/">Red</nav-item>
<nav-item href="#{base_url}/">Green</nav-item>
<nav-item href="#{base_url}/">Blue</nav-item>
</ul>
</def>
<extend tag="page">
<old-page merge>
<after-main-nav:><sub-nav/>
</after-main-nav:>
</old-page>
</extend>
and How do I adds that sub_navigation too, do I need to modified <page?>
http://hi.baidu.com/femto
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.