How do you guys normally handle a page heading (h1 tag with dynamic post title, and some margins, etc) to be included in every page except the front page?
For now i have created a template and made it section type, and then manually drop it in to each page. Is there a better way?
to clarify:
Page heading = title of the page
Header = global header with logo and navigation
There is a type “Header” but not “heading”.
If I already have a global header for the logo/nav, that doesn’t work and replaces it (not sure how it determines which to use though for two conflicting conditions).
I guess you’d then make the header (nav) a section, and load it into two separate header type templates? One would have the page heading below it, and the other would not.
The advice from @alanj correct. You can create two templates, one template for the main page, and the second for all others.
If the design of the pages is not very different, and you just need to remove the h1 title from home page, then for this there are Comparison Conditions that can be added to the Title widget
Found an easy solution that I couldn’t find anywhere on the forums…
Figure this out - leaving up incase this is useful to anyone else as this si simple once you know and I couldn’t find this anywhere on the Bricks forums, hope this helps someone else.
Create a new Template with Type = Section
Build your page header in here
Go to Settings > Template Settings > Conditions
Set an exclude condition for the front page with the hook “bricks_after_header”
Set an entire website condition with the same hook