Only show hr on home if homepageLatestPosts enabled

Otherwise there's just a random line separator for no reason.
This commit is contained in:
2025-08-24 03:58:16 -05:00
parent 20f22b7926
commit d90f64fb86

View File

@@ -3,10 +3,10 @@
<article class="homepage-content">
{{ . }}
</article>
<hr>
{{ end }}
{{ if .Site.Params.homepageLatestPosts }}
<hr>
<div class="homepage-latest-posts">
<h1>
{{ i18n "latest_posts" }}