mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-25 03:34:29 +01:00
Use H2 for blog post heading
I think this should be an H1 since it's in a standalone article tag but for some reason WordPress' latest themes use an H2, so I'll use one too until I go read the W3C docs.
This commit is contained in:
parent
e4cd676f3a
commit
3042101003
@ -2,7 +2,7 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-8 blog-main">
|
||||
<article class="blog-post">
|
||||
<h1 class="blog-post-title"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
|
||||
<h2 class="blog-post-title"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h2>
|
||||
<p class="blog-post-meta"><time datetime="{{ .Date }}">{{ .Date.Format .Site.Params.date_format }}</time> by <a href="#">{{ .Params.author | default .Site.Params.author }}</a></p>
|
||||
{{ .Content }}
|
||||
</article> <!-- /.blog-post -->
|
||||
|
Loading…
Reference in New Issue
Block a user