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:
Alan Orth 2016-08-30 22:45:30 +03:00
parent e4cd676f3a
commit 3042101003
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 1 additions and 1 deletions

View File

@ -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 -->