Prerequisites
Before you begin, ensure you have the following installed on your system:- Go (version 1.21.6 or higher) - Required for Hugo modules
- Git - For cloning the repository and version control
Installing Hugo
The benson.vc site uses Hugo with the Congo theme via Go modules. You need Hugo version 0.87.0 or higher (standard version, not extended).Setting up the project
Initialize Hugo modules
The project uses Hugo modules to manage the Congo theme (v2.11.0). Initialize the modules:This will download the Congo theme and its dependencies as specified in
go.mod.Verify the setup
Check that all modules are properly installed:You should see the Congo theme module listed:
Updating dependencies
To update the Congo theme or other Hugo modules:Troubleshooting
Module not found errors
If you encounter module-related errors, try cleaning the module cache:Build lock issues
If you see.hugo_build.lock errors, simply delete the lock file:
Theme not loading
Ensure yourconfig/_default/module.toml correctly imports the Congo theme:
Next steps
Now that you have Hugo installed and the project set up, you can:- Follow the quickstart guide to start the development server
- Explore the project structure to understand the codebase
- Learn about configuration to customize the site