Hugo Profile includes a fully featured blog section atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/gurusabarish/hugo-profile/llms.txt
Use this file to discover all available pages before exploring further.
content/blogs/ with both list and single-post views. Posts support featured images, tags, a table of contents, and an enhanced reading experience powered by scroll progress and reading time indicators.
Creating a New Post
Run the following command to scaffold a new blog post with pre-populated frontmatter:Blog Post Frontmatter
Each post incontent/blogs/ uses the following frontmatter fields. These match the fields defined in archetypes/default.md:
| Field | Type | Description |
|---|---|---|
title | string | The post title displayed at the top of the page |
date | string | Publication date in ISO 8601 format |
draft | boolean | Set to true to exclude from builds |
author | string | Author name displayed below the title |
image | string | Path to the featured image (e.g., /images/post.jpg) |
description | string | Short summary used in meta tags and post cards |
tags | array | List of tag strings for categorization |
toc | boolean | Set to true to show the table of contents sidebar |
Blog Features
Reading Time
Automatically calculated from word count and displayed at the top of each post. Powered by
readingTime.js, which reads the article text and estimates at 225 words per minute. Controlled via params.singlePages.readTime.enable.Scroll Progress Bar
A thin progress bar at the top of the viewport tracks how far the reader has scrolled through the post. Enable or disable it with
params.singlePages.scrollprogress.enable.Social Share
Share buttons for LinkedIn, Twitter/X, WhatsApp, and email appear in the sidebar of every post. Toggle them globally with
params.singlePages.socialShare: true.Tags
Tag links are shown in the post sidebar. Set
params.singlePages.tags.openInNewTab: true to open tag archive pages in a new browser tab.Table of Contents
A sticky table of contents is rendered from the post’s headings and shown in the right sidebar. Enable it per-post by adding
toc: true to the frontmatter.Disqus Comments
Comment threads appear below each post when a Disqus shortname is configured under
services.disqus.shortname in hugo.yaml.Configuring Reading Experience
The single-page experience is controlled underparams.singlePages in hugo.yaml:
Footer Recent Posts
Hugo Profile can show a list of recent posts in the site footer. Configure this underparams.footer.recentPosts:
Blog List Page
The blog list page (/blogs) displays posts in a paginated grid. Control the number of posts per page with the top-level pagination setting: