This is the source code (using the Hugo Static Site Templating engine) for the Leagify github pages site.
The code is split into two repositories. The source code is here, and the public-facing code is on the organization github page.
This follows the example listed in the Hugo docs here: https://gohugo.io/hosting-and-deployment/hosting-on-github/#host-github-user-or-organization-pages
The purpose is to provide more information about what Leagify is, and how people can participate in it.
You can develop this site using GitHub Codespaces:
- Open this repository in GitHub Codespaces
- Wait for the development environment to set up (Hugo will be installed automatically)
- Run
hugodev
in the terminal to start the development server (this is a preconfigured alias) - Make your changes to the Markdown files
- Preview your changes in the browser (Codespaces will prompt you to open the preview)
If running locally:
hugo server
If running in GitPod, running the server requires a slightly different command: hugo server --baseUrl $(gp url 1313) --appendPort=false
Once the above command is running, make sure to expose port 1313.