hugo-codespaces-example
Example repository for Hugo and GitHub Codespaces.
Check out the blog post for this repository.
Check out the demo at https://pensive-sammet-17c943.netlify.app/.
Dependencies
Usage
Debug locally
hugo server -D
Debug on codespaces
- Open the
remote explorer
sidebar in Codespaces. - Forward port 1313
- Right click on entry and copy the url
Run the server command with copied url
hugo server -D --baseUrl "https://{githubUrl}" --appendPort=false
Build
hugo build
License
MIT