Post title should be an H1 element for semantic and search rankings.

This commit is contained in:
Hitesh Jasani 2020-04-11 11:03:39 -04:00
parent 5cf4ca6c2d
commit f45b762566

View File

@ -3,7 +3,7 @@
{{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "posts" }}
<div class="post">
<h2 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2>
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<div class="post-meta">
{{ if .Date | default nil }}
<span class="post-date">