remove an extra dash from numpy.org website's title "NumPy - "
current Numpy.org's website title is "NumPy - "
It is not clear what the purpose of the extra dash is. It feels like something else, like a short description of NumPy was meant to follow after the dash but is somehow missing. I suggest either removing the dash, or adding a short description after the dash.
I think this comes from the scientific-python hugo theme, from here
<title>{{ block "title" . }}{{ .Site.Title }}{{ if not (eq .Site.Title .Title) }} - {{ .Title }}{{end}}{{ end }}</title>
Perhaps the main page does not have a .Title attribute. @stefanv thoughts?
@mattip can you p[lease check and verify the commit fixed the page title issue 766 and removed the redundant hyphen #658
Yes, we'll have to check why "if not (eq .Site.Title .Title)" triggers.
Problem is that Title is defined for the index page but empty: https://raw.githubusercontent.com/numpy/numpy.org/refs/heads/main/content/en/_index.md
Should be unset, I think.
Problem is that
Titleis defined for the index page but empty: https://raw.githubusercontent.com/numpy/numpy.org/refs/heads/main/content/en/_index.mdShould be unset, I think.
The PR, https://github.com/scientific-python/scientific-python-hugo-theme/pull/658 shows the fails builds. Whenever I have tried some changes in the submodules the build fails, can you please suggest me anything why it happens so?