This website requires JavaScript.
Explore
Help
Sign In
Discource-C
/
discourse
Watch
1
Star
0
Fork
0
You've already forked discourse
mirror of
https://github.com/discourse/discourse.git
synced
2025-02-10 13:24:55 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
discourse
/
app
/
views
/
layouts
/
_noscript_header.html.erb
6 lines
82 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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:07:00 +01:00
<header>
<a href="<%= path "/" %>">
DEV: remove H1 from crawler view header (#18201)
2022-09-12 10:46:00 -04:00
<%=SiteSetting.title%>
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:07:00 +01:00
</a>
</header>
Reference in New Issue
Copy Permalink