Use section tag for homepage latest posts section

This improves semantic HTML compliance.
This commit is contained in:
2025-08-30 22:25:05 -05:00
parent ef91527ed6
commit 37dbdc53af

View File

@@ -7,7 +7,7 @@
{{ if .Site.Params.homepageLatestPosts }}
<hr>
<div class="homepage-latest-posts">
<section class="homepage-latest-posts">
<h1>
{{ i18n "latest_posts" }}
{{ partial "rss-link.html" . }}
@@ -16,6 +16,6 @@
{{ partial "page-list.html" (.Paginate .Site.RegularPages).Pages }}
{{ partial "pagination.html" . }}
</div>
</section>
{{ end }}
{{ end }}