A Title for the Homepage
It's true -- you learn something new every day!
Plone automatically generates the <title> element of every page by concatenating two strings, separated by an —:
- The value of the Title field of the current page
- The value of the Site Title on the /@@site-controlpanel.
Thus, this page for example has the title: A Title for the Homepage — Soliton Consulting
But what if you want some page to just show the site title? Typically, you might want this on the homepage.
Simple! Just give your homepage the same title as the site, and Plone will skip the concatenation business.
I stumbled acrosswhen I went to look at the code, expecting to need to customize it. It's a viewlet after all ( ), so that approach is simple enough. No customization needed!