Skip to content

Commit

Permalink
Fix W3 validator warning: Section lacks heading. (adityatelange#857)
Browse files Browse the repository at this point in the history
Use `div` instead of `section` element, because already an `article` element.
  • Loading branch information
Rotzbua authored Apr 19, 2022
1 parent 3f16461 commit f0f3950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ <h2>
</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">
Expand Down

0 comments on commit f0f3950

Please sign in to comment.