You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2026/08/31 07:59:46 UTC

(james-project) 09/09: [DOC] Improve default page naming

This is an automated email from the ASF dual-hosted git repository.

chibenwa pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit d7ea73f6cce79366346566b4f6d692590d25c63d
Author: Benoit TELLIER <bt...@linagora.com>
AuthorDate: Sun Aug 30 18:19:15 2026 +0700

    [DOC] Improve default page naming
---
 docs/ui-overrides/partials/head-title.hbs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/ui-overrides/partials/head-title.hbs b/docs/ui-overrides/partials/head-title.hbs
new file mode 100644
index 0000000000..0ff0811450
--- /dev/null
+++ b/docs/ui-overrides/partials/head-title.hbs
@@ -0,0 +1,3 @@
+{{!-- The home page of the component is titled after the site itself. Avoid the
+      "Apache James Server :: Apache James Server" the stock template would produce. --}}
+    <title>{{#if (eq (detag (or page.title defaultPageTitle)) site.title)}}{{{site.title}}}{{else}}{{{detag (or page.title defaultPageTitle)}}}{{#with site.title}} :: {{this}}{{/with}}{{/if}}</title>


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org