Quick setup
Install Hugo and Go
Make sure you have Hugo (v0.87.0+) and Go (v1.21.6+) installed:If not installed, see the installation guide.
Understanding the output
When you runhugo server -D, you’ll see output like this:
- How many pages were built
- Which directories are being watched for changes
- The local URL where your site is available
Making your first change
The Congo theme uses a modular configuration system. Let’s make a quick change to see hot reloading in action:Update the base URL (optional)
The configuration includes the production URL:For local development, this works fine. Hugo automatically handles localhost.
config/_default/config.toml
Creating new content
The benson.vc site includes content organized in sections. Here’s how to create a new post:archetypes/default.md. Edit the generated file:
content/posts/my-new-post/index.md
-D (drafts enabled), you’ll see your new post immediately at http://localhost:1313/posts/my-new-post/.
Development workflow
Running the server
Building for production
When you’re ready to build the site for production:public/ directory. The build:
- Excludes draft content
- Excludes future-dated content
- Minifies assets
- Generates RSS feeds and JSON search index
Cleaning generated files
To remove generated files:Common development tasks
View site analytics
The site includes Google Analytics (G-RS2TMEY2KX) configured inconfig/_default/config.toml. This only activates in production builds.
Customize the theme
The Congo theme is imported via Hugo modules. To customize:- Override layouts: Create files in
layouts/matching the theme’s structure - Override partials: Create files in
layouts/partials/(see existing customizations) - Customize configuration: Edit files in
config/_default/
layouts/partials/about-me.htmllayouts/partials/angel-investments.htmllayouts/partials/recent-articles.htmllayouts/index.html
Check module status
View your Hugo module dependencies:Next steps
Now that you have the site running:- Explore the project structure to understand the organization
- Learn about configuration options
- Review the Congo theme documentation for advanced features
- Check out the content creation guide