Simple website for coordinating Calanus datasets in the NW Atlantic
This project is in active development. The draft website is currently live here
-
Make changes
- Content is easy. Simply edit markdown files in the
content
directory - Formatting is hard. This could be to the html (in
layouts
). The default formatting is pulled fromthemes/compose/
. To change any defaults, first copy the file to the main directory
- Content is easy. Simply edit markdown files in the
-
Preview changes
- The easiest way to do this is to set
baseURL = ""
inconfig.toml
, then runhugo server
in the terminal and view the site in a web browser. Be sure to change thebaseURL = "/calanus_website"
prior to publishing any changes to GitHub - Note: image paths need to be changed for preview versus deployment. Add
/calanus_website/
as a prefix to the image file path for deployment
- The easiest way to do this is to set
-
Update site
- Commit the change to content/formatting to
git
with a descriptive commit message(s) - Run
hugo
in the terminal to generate the static web page (in thedocs
directory) - Commit the static site updates to git using a commit message like
update site
- Push updates to GitHub
- Commit the change to content/formatting to
The site was built in Hugo using the Compose theme