OpenMind Consortium Hugo website.
Start the server
hugo serve -Dgo to localhost:1313
This will build the site in the public/ directory.
hugoThe site is deployed to GitHub Pages using Travis. Changes to the site should be done in the Hugo project (hugo-site branch). Never commit to master, that branch will be updated by Travis whenever a new build is done.
The code is on GitHub. We will use the gitflow branching model. Currently, there are two ways to update content:
- GitHub: If you want to add or update content, create a
feature branchfromhugo-site. When done submit a PR tohugo-site.
**Any change pushed to
hugo-sitewill trigger a Travis build. If the build is successful, the site will be deployed to Github Pages.
- Forestry.io: A static CMS that commits. Forestry gives you a GUI to update content. It's also convenient for small changes. When changes are saved, Forestry will commit and push to
hugo-site. That will trigger the deployment process.
The main parameters that define basic sections of the website (title, footer, menus, etc.) are set in the config.yaml file.
From the command line, with Hugo installed:
hugo new content/post/new_content.md
Each file in the content/post folder corresponds to a block row in the website. Just add content in Markdown format.
Content can also be added or updated using Forestry.io