From 8363eb5cda7b74f7f3e78f2830364bdaa49f3e00 Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Fri, 9 Oct 2026 14:44:52 -0400 Subject: [PATCH] Put a space after the dash in page titles Titles rendered as "PyNWB -Neurodata Without Borders" in browser tabs and search results. They now read "PyNWB - Neurodata Without Borders". A page without a title, which today is only the code of conduct, gets the site name alone instead of a title that starts with a dash. Co-Authored-By: Claude Opus 5.5 (1M context) --- layouts/partials/essentials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/essentials/head.html b/layouts/partials/essentials/head.html index a2fcfcc..21fdfc4 100644 --- a/layouts/partials/essentials/head.html +++ b/layouts/partials/essentials/head.html @@ -4,7 +4,7 @@ {{/* Title */}} -{{ if not .IsHome }}{{ .Title | plainify }} -{{ end }}{{ .Site.Title }} +{{ if and .Title (not .IsHome) }}{{ .Title | plainify }} - {{ end }}{{ .Site.Title }} {{/* Bootstrap Icons */}}