An overview on how to build a custom post section in you 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. The setting is available in blog settings, under Posts > Max posts shown on main page. The reason we set it so high is that we want to have enough posts to filter for each section.
![]() |
| Blogger max posts in main page settings. |
Next, filter the posts by label name using the 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.
**
Additional Notes: