On 05/03/2009, at 3:31 PM, Elle Meredith wrote:
1. In my Normal layout I use the page title as h1 element (sometimes
as a link, sometimes as just a heading).
However, I wish _not_ to have a h1 title on the home page only. I am
not sure how to achieve this.
<snipped>
Furthermore, using the above, when I go to archives, I get all the
posts' titles but not a general %Y Archives heading.
Simple is always the best solution. Not sure if anyone is interested
but defining
<r:unless_url matches="^/$"><h1><r:title /></h1></r:unless_url>
does all I want and while using just one layout :)
No title on home page, titles as h1 on every other page (as well as
archive pages)
While blog entries appear as links on archives pages (which is defined
in the archives page)
Now, why was I trying to complicate things? :)
Elle
_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant