mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-14 20:35:07 +01:00
Merge pull request #144 from hiteshjasani/fix-post-title-h1
Post title should be an H1 element for semantic and search rankings.
This commit is contained in:
commit
cf5e597491
@ -3,7 +3,7 @@
|
|||||||
{{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "posts" }}
|
{{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "posts" }}
|
||||||
|
|
||||||
<div class="post">
|
<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">
|
<div class="post-meta">
|
||||||
{{ if .Date | default nil }}
|
{{ if .Date | default nil }}
|
||||||
<span class="post-date">
|
<span class="post-date">
|
||||||
|
Loading…
Reference in New Issue
Block a user