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

feat(title): add proper title to pages #5143

Merged
merged 2 commits into from
Mar 15, 2023
Merged

feat(title): add proper title to pages #5143

merged 2 commits into from
Mar 15, 2023

Conversation

ovflowd
Copy link
Member

@ovflowd ovflowd commented Mar 15, 2023

This PR adds the prior behaviour of showing the frontmatter title as the page title, as it has been done.

It also adds a title for the blog index, and the blog year indexes.

This PR overall fixes a regression.

Closes #5141

Copy link

@azu azu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Node.js
http://localhost:3000/en/

About | Node.js
http://localhost:3000/en/about/

Download | Node.js
http://localhost:3000/en/download/

Documentation | Node.js
http://localhost:3000/en/docs/

Get involved | Node.js
http://localhost:3000/en/get-involved/

News | Node.js
http://localhost:3000/en/blog/

Node v19.8.0 (Current) | Node.js
http://localhost:3000/en/blog/release/v19.8.0

Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ovflowd ovflowd merged commit c799aea into nodejs:main Mar 15, 2023
@ovflowd ovflowd deleted the feat/add-title-to-pages branch March 15, 2023 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All page title is "<title>Node.js</title>"
3 participants