Hugo Profile can be installed in two ways: as a Git submodule or as a direct Git clone into your site’sDocumentation 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.
themes/ directory. The submodule approach is recommended for most users — it keeps your site repository clean and lets you pull upstream theme updates with a single command. The clone approach is better suited to situations where you intend to modify the theme’s template files or layouts directly, since those changes won’t be overwritten by an update command.
Requirements
Before installing Hugo Profile, make sure you have the following:- Hugo 0.87.0 or higher — check your version with
hugo version - Git — required to fetch the theme from GitHub
Hugo Profile requires Hugo 0.87.0 or higher. Run
hugo version to confirm your installed version. If Hugo is not installed, follow the official installation guide for your operating system.Install the Theme
First, create a new Hugo site if you haven’t already. Using--format="yaml" generates a hugo.yaml config file, which matches the format of Hugo Profile’s example configuration:
- Git Submodule (recommended)
- Git Clone
A Git submodule records a reference to the Hugo Profile repository inside your own repository. This means your site repo stays lightweight and you can update the theme independently of your content.Initialize your repository and add the submodule:Git will clone the theme into To update the theme to the latest version at any time:
themes/hugo-profile/ and create a .gitmodules file that tracks the reference.When cloning your site on another machine, restore the submodule with:Configure the Theme
Openhugo.yaml at the root of your site and set the theme key to hugo-profile:
hugo new site command, a minimal hugo.yaml already exists. You can either edit it manually or replace it entirely with the example configuration in the next step.
Copy the Example Configuration
Hugo Profile ships with a fully populatedhugo.yaml that configures every section — Hero, About, Experience, Education, Projects, Achievements, Contact, navbar, footer, and more. Copy it to your site root to get started immediately:
hugo.yaml and replace the placeholder content with your own details.
Verify the Installation
Start the Hugo development server to confirm everything is wired up correctly:- The
theme: hugo-profileline is present inhugo.yaml - The theme directory exists at
themes/hugo-profile/ - Your Hugo version is 0.87.0 or higher (
hugo version)
Copy Example Content and Assets
On first run, images may be missing and the Blog or Gallery sections may not appear. Hugo expects static files in the rootstatic/ folder and content pages in the root content/ folder, but the example files live inside the theme’s exampleSite/ directory. Copy them across with: