Remove extra <hr> when no content set for homepage

This commit is contained in:
BBaoVanC 2022-05-07 22:24:09 -05:00
parent 684769df5a
commit 3d83e9fbdf
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
1 changed files with 1 additions and 1 deletions

View File

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