Skip to content

config $siteTitle by frontmatter #3086

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

Open
andyFang94 opened this issue Sep 21, 2022 · 0 comments
Open

config $siteTitle by frontmatter #3086

andyFang94 opened this issue Sep 21, 2022 · 0 comments

Comments

@andyFang94
Copy link

Feature request

What problem does this feature solve?

Different pages can be configured with different site names

What does the proposed API look like?

  get $siteTitle () {
     const { siteTitle } = this.$page.frontmatter
     return siteTitle  || this.$localeConfig.title || this.$site.title || ''
   }

How should this be implemented in your opinion?

Are you willing to work on this yourself?

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

No branches or pull requests

1 participant