mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-09-02 01:37:33 -05:00
Use section tag for homepage latest posts section
This improves semantic HTML compliance.
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
{{ if .Site.Params.homepageLatestPosts }}
|
{{ if .Site.Params.homepageLatestPosts }}
|
||||||
<hr>
|
<hr>
|
||||||
<div class="homepage-latest-posts">
|
<section class="homepage-latest-posts">
|
||||||
<h1>
|
<h1>
|
||||||
{{ i18n "latest_posts" }}
|
{{ i18n "latest_posts" }}
|
||||||
{{ partial "rss-link.html" . }}
|
{{ partial "rss-link.html" . }}
|
||||||
@@ -16,6 +16,6 @@
|
|||||||
{{ partial "page-list.html" (.Paginate .Site.RegularPages).Pages }}
|
{{ partial "page-list.html" (.Paginate .Site.RegularPages).Pages }}
|
||||||
|
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
</div>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Reference in New Issue
Block a user