I could be…
Inside Lay Theme <h1>
is the ID for a headline in general. It could also literaly be called headline. So all headlines are <h1>
inside Lay. Since there is no real spot where you define how h1–h5 look like Lay cannot do it in a different manner.
In this case h2
is how you titled the format. If you would have titled it second-headline
the code would be like: <h1 class="_second-headline"> … </h1>
So yes the syntax is not the way one would usually expect it to be but I don’t see any big, issues with that. (If there are any I’d be happy to learn!)
The only way this could work as you suggested would be if there was a section where one could define all the basic headlines from h1–h5 so these can be called with the respective IDs.
As far as I know google prefers ´<h1>´ for crawling your content / website so (imho) there is no big issue aside from a markup that just looks a bit different.
Please correct me if I’m wrong @mariusjopen and @arminunruh…