docusaurus icon indicating copy to clipboard operation
docusaurus copied to clipboard

[v2] Blog home page support different meta title

Open ywtsang opened this issue 6 years ago • 5 comments

🚀 Feature

In the blog home page, the meta title is hardcoded as Blog | {site title}.

This may not be a problem if we just have a single blog, but when we are setting multiple blogs, it would be confusing to see the meta title (from the browser tab) to be "Blog" when switching between different blogs.

Have you read the Contributing Guidelines on issues?

Yes.

Motivation

Better support for multiple blogs.

Pitch

The multiple blogs feature in v2 is very useful and we are using 2nd blog for changelog purpose. But show Blog for the changelog section creates confusion that we would like to avoid.

ywtsang avatar Oct 06 '20 06:10 ywtsang

agree.

I thought this pr from @zxuqian added support for this: https://github.com/facebook/docusaurus/pull/2359

But it seems to only handle the description.

Adding support for title config option should be easy, inspired by the PR above, while keeping retro compatibility.

slorber avatar Oct 06 '20 10:10 slorber

Hey, I'd love to take this issue if possible?

DeadEnglish avatar Oct 06 '20 13:10 DeadEnglish

yes @DeadEnglish thanks ;)

slorber avatar Oct 06 '20 13:10 slorber

@DeadEnglish do give a heads-up if you're unable to raise a PR at this time, I'll take a look at this in case you are not solving this.

dopecodez avatar Oct 07 '20 06:10 dopecodez

Let's say we expect news from @DeadEnglish in the next 7 days, after it gets reassigned to the next candidate ;)

slorber avatar Oct 07 '20 10:10 slorber