This page covers the most common issues encountered when setting up and deploying Hugo Profile, from build-time errors to sections that silently refuse to render. Work through the accordion that matches your symptom — each entry explains what causes the problem and the exact steps to fix it.Documentation 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.
Common issues
TLS handshake timeout error during build
TLS handshake timeout error during build
You will see an error that looks like this:This happens because Hugo tries to fetch a Twitter oEmbed when it processes the Save the file and rebuild. The timeout error will not recur once the shortcode is removed.
{{</* tweet */>}} shortcode, and the outbound network request times out. This shortcode appears only in the example content that ships with the theme — it is not part of your personal content.Fix: Open content/blogs/rich-content.md and delete (or comment out) the line containing the tweet shortcode:Site looks incomplete — missing images or blank sections
Site looks incomplete — missing images or blank sections
When you first run Run
hugo server after the Quick Start setup, the site may render with broken image placeholders and the Blog or Gallery sections may not appear at all.This is expected. Images and example pages live inside themes/hugo-profile/exampleSite/static/ and themes/hugo-profile/exampleSite/content/ respectively. Hugo looks for static assets and content in the root-level static/ and content/ directories — not inside the theme folder.Fix: Copy the example content into your site root:hugo server again and the site will render completely. You can then replace or edit this content with your own.Hugo Profile sections not showing up
Hugo Profile sections not showing up
If a section like About, Experience, Education, or Projects is missing from the rendered page, the most likely cause is that its After saving
enable flag is not set to true in hugo.yaml.Every section in Hugo Profile defaults to hidden. You must explicitly opt each one in:hugo.yaml, the sections will appear on the next build or live-reload cycle.Hugo version too old
Hugo version too old
Hugo Profile requires Hugo 0.87.0 or higher. Using an older version can produce silent rendering failures, missing template features, or a build that exits with an error about unrecognized configuration keys.Check your currently installed version:If it is below 0.87.0, download the latest release from the Hugo installation guide. On macOS with Homebrew:
Theme not found error
Theme not found error
A build error like This fetches the submodule content at the pinned commit. If you cloned the repository with
theme not found: hugo-profile means Hugo cannot locate the theme files.Check two things:-
Your
hugo.yamldeclares the theme. The file must contain: -
The theme files exist on disk. Confirm that
themes/hugo-profile/is present and non-empty:
git clone, add --recurse-submodules next time to avoid this step.Search not working
Search not working
Hugo Profile’s search feature relies on a JSON index that Hugo generates at build time. If search returns no results or produces a console error about a missing JSON file, the JSON output format is probably not configured.Open Without the
hugo.yaml and verify that the outputs block includes "JSON" for the home page:JSON output, Hugo skips generating the search index file and the search widget has nothing to query. Save the file and rebuild to generate the index.Colors or custom theme not applied
Colors or custom theme not applied
If you set custom colors in After quoting all hex values, rebuild the site. The colors should apply immediately.
hugo.yaml and they are not reflected in the browser, the most common cause is unquoted hex values in YAML.YAML treats the # character as the start of a comment, so an unquoted hex value like primaryColor: #007bff is silently discarded — Hugo never sees the value. Always wrap hex codes in double quotes:Getting help
If your issue is not listed above, these resources can help:- File a GitHub issue: https://github.com/gurusabarish/hugo-profile/issues — include your Hugo version, a description of the problem, and any error output.
- Check the wiki: https://github.com/gurusabarish/hugo-profile/wiki — covers theme-specific tips such as color customization and configuration options.
- Live demo for reference: https://hugo-profile.netlify.app — compare your local output against the canonical example site to spot configuration differences.