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

404 layout generates invalid HTML #1133

Closed
chalin opened this issue Jul 28, 2022 · 0 comments · Fixed by #1134 or #1137
Closed

404 layout generates invalid HTML #1133

chalin opened this issue Jul 28, 2022 · 0 comments · Fixed by #1134 or #1137
Assignees
Labels
bug Something isn't working cleanup/refactoring

Comments

@chalin
Copy link
Collaborator

chalin commented Jul 28, 2022

The current 404 layout causes nested <main> elements to be generated:

  <main role="main" class="td-main">
    <main id="main">
      <div>
       <h1 id="title">Not found</h1>
          <p>Oops! This page doesn't exist. Try going back to our <a href="/">home page</a>.</p>
      </div>
    </main>
 </main>
image

This is an instance of #907.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cleanup/refactoring
Projects
None yet
1 participant