mirror of
https://github.com/flarum/core.git
synced 2025-08-06 00:17:31 +02:00
feat(seo): shift h1 tag from logo to discussion title (#3724)
* feat(seo): shift h1 tag from logo to discussion title Many times have we seen opponents of using h2 as the discussion title. Although my own SEO knowledge is limited, I have seen the importance of structuring pages according to the content you wish to prioritize. If we only take that into consideration there is zero reason for the app-wide identical logo to take precedence over any other heading. This change makes the logo a standard (visually identical) element, and makes the discussion hero title a h1. * feat(seo): rewrite remainder of hero titles and subtitles
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
text-align: center;
|
||||
color: var(--contrast-color, var(--hero-color));
|
||||
|
||||
h2 {
|
||||
h1 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
@media @tablet-up {
|
||||
.Hero {
|
||||
h2 {
|
||||
h1 {
|
||||
font-size: 22px;
|
||||
}
|
||||
.container {
|
||||
|
Reference in New Issue
Block a user