Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #144 from hiteshjasani/fix-post-title-h1
Browse files Browse the repository at this point in the history
Post title should be an H1 element for semantic and search rankings.
  • Loading branch information
panr committed Apr 13, 2020
2 parents 5cf4ca6 + f45b762 commit cf5e597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Expand Up @@ -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">
Expand Down

0 comments on commit cf5e597

Please sign in to comment.