mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-12 17:57:28 -05:00
Remove extra <hr> when no content set for homepage
This commit is contained in:
@ -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" . }}
|
||||
|
Reference in New Issue
Block a user