mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Limit number of blog posts on frontpage to 4 (#15266)
This commit is contained in:
parent
6a9f58cea3
commit
5e0018688a
@ -96,7 +96,7 @@ description:
|
||||
<div class="recent-posts material-card text">
|
||||
<h1>Recent Blog Posts</h1>
|
||||
|
||||
{% for post in site.posts limit: 7 %}
|
||||
{% for post in site.posts limit: 4 %}
|
||||
<li class="post">
|
||||
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||
<small class="blog-date">{{ post.date_formatted }}</small>
|
||||
|
Loading…
x
Reference in New Issue
Block a user