mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
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
@ -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…
Reference in New Issue
Block a user