Ricardo Alves-2 wrote:
The best would be to override the plone.htmlhead.title viewlet, which is
implemented at plone.app.layout. If you need to know more on how to
override viewlets, check the following documents:
Thanks very much for the pointer, Ricardo. After I educated myself
about viewlets a bit, and dove way down into the code, I of course
found that there was already some special-casing to do exactly what I wanted.
The relevent code in TitleViewlet.render() looks like:
if page_title == portal_title:
return u"<title>%s</title>" % (escape(portal_title))
so all I had to do was make the page title exactly the same as the portal title, et voila.
But thanks again, at least I know a little be more about how this works now!