Skip to content

Clashing title assignations #20

Open
@delisma

Description

@delisma

<h1 id="wb-cont" property="name">{{ page-title }}</h1>

Describe the bug
It seems that the variable page-title isn't pulling the variable page.contentTitle. If the page.title and page.contentTitle are defined in the front matter, we have 2 h1tags on a page, one for each variable.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://wet-boew.github.io/gcweb-jekyll/en/index.html
  2. See error

Expected behavior
We should have one h1 tag pulling its content from page.contentTitle, unless two h1 are explicitly required.

Screenshots
Screen Shot 2021-02-16 at 4 41 51 PM

Desktop (please complete the following information):

  • OS: any
  • Browser: any
  • Version: any

Smartphone (please complete the following information):

  • Device: any
  • OS: any
  • Browser: any
  • Version: any

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions