mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 01:25:54 +08:00
683b172104
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.
6 lines
91 B
Plaintext
6 lines
91 B
Plaintext
<header>
|
|
<a href="<%= path "/" %>">
|
|
<h1><%=SiteSetting.title%></h1>
|
|
</a>
|
|
</header>
|