discourse/app/views/layouts/_noscript_header.html.erb
David Taylor 683b172104 UX: Make header/footer HTML consistent for crawler and noscript
These were originally very similar, but have diverged over time. This makes it very difficult to manage styling.

This commit moves the noscript header and footer into partials so they can be reused in both the crawler view and the `<noscript>` view. It also makes browser-update render the noscript content **instead of** the `<section id='main'>`, rather than adding adding the noscript inside the `<section>`. This provides better parity with the server-rendered crawler view.
2022-04-07 15:27:06 +01:00

6 lines
91 B
Plaintext

<header>
<a href="<%= path "/" %>">
<h1><%=SiteSetting.title%></h1>
</a>
</header>