An overview to build a custom post sections in blog homepage in Blogger.
If your blog have various categories, then you might want to display them in sections in the homepage. This requires editing the blog template.
First, set the maximum posts limit in the main page to 999. You can set this in blog settings under Posts > Max posts shown on main page. 999 is the maximum posts limit. The reason we set it so high is to allow displaying all the posts for each section, because each section is a filtered results of that 999 posts.
![]() |
| Blogger max posts in main page settings. |
Next, filter the posts by label name using lambda expressions and limit the posts displayed for each section. The following snippet displays 5 latest posts of "template-development" label:
<h2>Template Development</h2>
<b:with
value='data:posts filter (post => post.labels any (label => label.name == "template-development") ) limit 5'
var="filteredPosts"
>
<!-- post title, etc. -->
<h3><data:filteredPosts.title/></h3>
</b:with>As for the older posts link, since the posts are now being shown in sections, you should provide a single link to browse all blog posts:
<a href="/search">Browse All Posts</a>Don't forget to insert the read more tag in your post. If you don't, the content on the homepage may get displayed partially because it exceeds the page response limit.
https://www.blogger.com/rpc_relay.html https://www.blogger.com/comment/frame/220561901913020919?po=2949187916090351657&hl=en&saa=85391&origin=https://xmlexpr.blogspot.com&skin=contempo https://xmlexpr.blogspot.com/2025/10/blogger-homepage-custom-post-sections.html#comments https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvSs7F_KGaytVJFvhfKZYZcNlI4porR0Jq4BCGEQRrIlMXQzSvDUHtECuIF2Qq7SvI71sJTkNK9Wh84Hy_VLKXP1Q5xOABliVLYHS0N0o3qzNA_rMkrh5ag89tRwRr3ZvZeZWlVIvefDF439oQEowUZoqRU_qKohzxWxzlAbi79nCUiGp4XGhuBCxdtYYw/s72-c/blogger-max-posts-settings.png true