This repository contains the source files for the website of the Open science lab for biodiversity.
The website makes use of the static website generator Jekyll and the Petridish theme. Each commit to main
will automatically trigger a new build on GitHub Pages. There is no need to build the site locally, but you can do so by installing Jekyll and running bundle exec jekyll serve
.
Minor changes can be committed directly to main
.
Changes requiring review (e.g. new blog posts) should be created in a separate branch and submitted as a pull request. Some guidelines:
- Use
72dpi
as image resolution - Place background images in
assets/backgrounds
, name them after their corresponding page/post and ideally crop them to2100 x 700px
- Place content images in
assets/images/
, name them after their corresponding page/post + a suffix, e.g.-month-tracks-3
- Add tags to posts to indicate the project, output type, software language, and maybe partner organization, e.g.
[TrIAS, software, R, GBIF, rOpenSci]
- Create internal links as
[previous post]({% post_url 2013-10-01-tracking-eric %})
The repository structure follows that of Jekyll websites.
- General site settings: _config.yml
- Pages: pages/
- Posts: _posts/
- Images & static files: assets/
- Top navigation: _data/navigation.yml
- Footer content: _data/footer.yml
- Team members: _data/team.yml
This work is licensed under a Creative Commons Attribution 4.0 International License.