Fix W3 validator warning: Section lacks heading. (#857)
Use `div` instead of `section` element, because already an `article` element.
This commit is contained in:
parent
c0e7be6534
commit
c6e9568c12
1 changed files with 2 additions and 2 deletions
|
|
@ -58,9 +58,9 @@
|
||||||
</h2>
|
</h2>
|
||||||
</header>
|
</header>
|
||||||
{{- if (ne (.Param "hideSummary") true) }}
|
{{- if (ne (.Param "hideSummary") true) }}
|
||||||
<section class="entry-content">
|
<div class="entry-content">
|
||||||
<p>{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}</p>
|
<p>{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}</p>
|
||||||
</section>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if not (.Param "hideMeta") }}
|
{{- if not (.Param "hideMeta") }}
|
||||||
<footer class="entry-footer">
|
<footer class="entry-footer">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue