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

Title in front matter overrides theme config #208

Closed
morrislaptop opened this issue Apr 22, 2018 · 0 comments
Closed

Title in front matter overrides theme config #208

morrislaptop opened this issue Apr 22, 2018 · 0 comments
Labels
type: bug Something isn't working

Comments

@morrislaptop
Copy link
Contributor

@ulivz @yyx990803 does this cause a double up in the title meta tag.

If I have...

module.exports = {
  title: 'Theme Title',
}

and

---
layout: about
title: About Us
---

I get <title>About Us | About Us</title>

Whereas, if I have:

---
layout: about
---

About Us

I get <title>About Us | Theme Title</title>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants