mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Remove extra <hr> when no content set for homepage
This commit is contained in:
parent
684769df5a
commit
3d83e9fbdf
@ -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" . }}
|
||||
|
Loading…
Reference in New Issue
Block a user