mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-14 20:35:07 +01:00
Post title should be an H1 element for semantic and search rankings.
This commit is contained in:
parent
5cf4ca6c2d
commit
f45b762566
@ -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