Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] All Hugo page titles are broken #489

Open
neteler opened this issue Jan 10, 2025 · 2 comments
Open

[Bug] All Hugo page titles are broken #489

neteler opened this issue Jan 10, 2025 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@neteler
Copy link
Member

neteler commented Jan 10, 2025

Since September 2024, all hugo related HTML titles are broken on https://grass.osgeo.org/ (see browser page title or HTML source code).

Problem description

Still working: end of Aug 2024

Broken: since the beginning of Sep 2024

Here the current HTML code:

image

This leads to the undesired effect that search engines "invent" their own titles (and likely the SEO ranking does not improve). Example Google search:

image

Related code:

<title>{{ .Title }}</title>

<meta property="og:title" content="{{ .Site.Title }}">

<meta name="twitter:title" content="{{ .Site.Title }}">

What happened?

However, since that file hasn't been edited for two years, the introduction of "roadmap" and "governance" must have damaged the title magic. Fixes are welcome.

@neteler neteler added bug Something isn't working help wanted Extra attention is needed labels Jan 10, 2025
@echoix
Copy link
Member

echoix commented Jan 10, 2025

Does rebuilding locally it work?
(To know if it's a configuration issue of accumulated cruft in the live server, vs something due with the version changes)

@neteler
Copy link
Member Author

neteler commented Jan 10, 2025

Locally I see the same problem.

(and I just checked, the server repo is clean)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants