Fix W3 validator warning: Section lacks heading. (#857)

Use `div` instead of `section` element, because already an `article` element.
This commit is contained in:
Rotzbua 2022-04-19 17:03:05 +02:00 committed by GitHub
parent c0e7be6534
commit c6e9568c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,9 +58,9 @@
</h2>
</header>
{{- if (ne (.Param "hideSummary") true) }}
<section class="entry-content">
<div class="entry-content">
<p>{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}</p>
</section>
</div>
{{- end }}
{{- if not (.Param "hideMeta") }}
<footer class="entry-footer">