Hi all,
I'm new to Blogofile, and I'm working off the simple version of the example to build my own site. I'd like to be able to put something at the top of my website that only appears on certain pages. For example, I'd like it to appear on the static page defined by index.html.mako, but not on another static page called about.html.mako. Is it possible to call a function topContent() in _templates/site.mako, but have the definition of that function reside in about.html.mako and index.html.mako? Then I would be able to define topContent() differently for whichever page is being displayed. I've tried calling next.topContent() in site.mako, but perhaps one problem is that I don't understand inheritance very well in Mako yet :)
I'd really appreciate any help anyone might be able to offer!
Thanks,
Jonathan