Remove — Plone site

How does one remove "— Plone site" that suffixes page title?
Seems in settings Plone insists on non empty string for a plone site...

Version Overview

  • Plone 5.2.0 (5207)
  • CMF 2.4.0
  • Zope 4.1.1
  • Python 3.7.4 (default, Jul 17 2019, 23:33:46) [GCC 6.3.0 20170516]
  • PIL 6.1.0 (Pillow)
  • WSGI: On
  • Server: waitress 1.3.0

I assume that the site title that you can configure within the control panel of Plone ("Site" settings I assume)

I can change to "." but then it becomes -> "page title — ."

I want to remove it completely. Seems like such a basic request... :frowning:

Please open an issue so that field becomes optional: https://github.com/plone/Products.CMFPlone/issues/new

For now you could go with an invisible character but you'd still get the symbol "—"

Do you know where this "—" text coming from?
Is there a template I can modify somewhere?

Github issue - https://github.com/plone/Products.CMFPlone/issues/2937

It's coming from the title viewlet: https://github.com/plone/plone.app.layout/blob/master/plone/app/layout/viewlets/common.py#L90 and the template used is https://github.com/plone/plone.app.layout/blob/master/plone/app/layout/viewlets/title.pt.

You could customize this using jbot to something like this (using page_title instead of the generated site_title):

<title tal:content="structure view/page_title">Site Title</title>
2 Likes

Plone Foundation Code of Conduct