mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 11:25:26 +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:
		| @@ -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"> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Rotzbua
					Rotzbua