Usage
{{< item-group-blog [count = "3"] [skip = "1"] [scrClass = "ui image"] >}}Generates blog post item lists automatically from your site’s blog content
Description
Creates a list of blog post items by scanning your site’s blog content. Similar to the blog partial but uses the item layout for list-style displays. Automatically includes featured images, reading time estimates, and post summaries.
Parameters
indicates required parameter
count =
"number"1
Number of blog posts to display
skip =
"number"0
Number of recent posts to skip before displaying
scrClass =
"string"
CSS classes for blog post images (note: uses ‘scrClass’ not ‘srcClass’)
page =
"object"REQUIREDcurrent page
Hugo page context (automatically provided)
Examples
Blog post list using hw shortcode
{{<hw t="item-group-blog">}}Use hw shortcode to show the most recent blog post in item format
Recent articles sidebar
## Recent Articles
{{<hw t="item-group-blog" count="4">}}
{{<hw t="children">}}Perfect for sidebars showing recent blog posts with automatic item formatting
Blog archive with skip functionality
# Blog Archive
## Featured Post
{{<hw t="blog" count="1">}}
## Recent Posts
{{<hw t="item-group-blog" count="5" skip="1">}}
## Older Posts
{{<hw t="item-group-blog" count="10" skip="6">}}Combine with blog partial to create comprehensive blog layouts
Categorized blog content in accordion
{{<hw t="accordion">}}
{{<hw t="acc-tab" header="๐ Latest Updates">}}
{{<hw t="item-group-blog" count="3">}}
{{</hw>}}
{{<hw t="acc-tab" header="๐ Popular Articles">}}
{{<hw t="item-group-blog" count="5" skip="3">}}
{{<hw t="caption" text="These articles have been most helpful to our community">}}
{{</hw>}}
{{<hw t="acc-tab" header="๐๏ธ All Categories">}}
{{<hw t="children">}}
{{</hw>}}
{{</hw>}}Organize blog lists within accordions for better content management
Blog showcase with custom image styling
{{<hw t="table">}}
{{<hw t="thead">}}
{{<hw t="trth">}}Latest Blog Posts{{</hw>}}
{{</hw>}}
{{<hw t="tbody">}}
{{<hw t="trtd">}}
{{<hw t="item-group-blog" count="3" scrClass="ui small image">}}
{{</hw>}}
{{</hw>}}
{{</hw>}}
{{<hw t="banner" text="Subscribe to our newsletter for weekly blog updates and exclusive content">}}Embed in tables and customize image styling for structured blog displays
Mixed content page with blog integration
# Welcome to Our Platform
{{<hw t="feature-group">}}
{{<hw t="feature"
header="Latest Features"
text="Stay updated with our newest platform capabilities and improvements."
src="/images/icons/features.png"
link="/features">}}
{{<hw t="feature"
header="Community"
text="Join our growing community of developers and creators."
src="/images/icons/community.png"
link="/community">}}
{{</hw>}}
## Latest Blog Posts
{{<hw t="item-group-blog" count="4">}}
{{<hw t="cover" from="docs/getting-started">}}Mix with other partials to create comprehensive landing pages
Additional Information