mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-31 00:57:33 -05:00
Only show hr on home if homepageLatestPosts enabled
Otherwise there's just a random line separator for no reason.
This commit is contained in:
@@ -3,10 +3,10 @@
|
|||||||
<article class="homepage-content">
|
<article class="homepage-content">
|
||||||
{{ . }}
|
{{ . }}
|
||||||
</article>
|
</article>
|
||||||
<hr>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.homepageLatestPosts }}
|
{{ if .Site.Params.homepageLatestPosts }}
|
||||||
|
<hr>
|
||||||
<div class="homepage-latest-posts">
|
<div class="homepage-latest-posts">
|
||||||
<h1>
|
<h1>
|
||||||
{{ i18n "latest_posts" }}
|
{{ i18n "latest_posts" }}
|
||||||
|
Reference in New Issue
Block a user