Skip to content

Title in front matter overrides theme config #208

Closed
@morrislaptop

Description

@morrislaptop

@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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions