We are a team of researchers at the University of Calgary focused on studying bone, with an emphasis on using advanced medical imaging. Visit bonelab.ca 🚀
Any lab member can make changes to the web site by creating a branch. Pull requests to merge to the
main
branch are approved by the site administrator.
If you simply want to request a change (add a photo, update a member profile, etc.), send an email.
Create a branch and clone the repository to your computer. Download, install and run Docker. Navigate to the base directory of your local copy of the repo and get things running:
$ cd bonelab-website
$ ./.docker/run.sh
It’ll process the site and then give you the URL to put in your browser:
http://localhost:4000
Edit your local repo files, but do it on the branch citation-update
or similar. If that branch
is not already created, then make it:
$ git checkout -b citation-update
Sometimes you may need to update these local files (e.g., if you ran Docker):
$ git restore _cite/.cache/cache.db
$ git restore _data/citations.yaml
Push your changes to that branch and then create a new pull request on github to merge the new branch with main. This will run the GitHub actions with appropriate permissions.
Here are some tips for simple updates.
A new idea can be added by simply creating a new file in _posts/
such as 2024-08-19-vertebral-fractures.md
.
Each member file is stored in _members
. See other files for examples or refer to template.txt
in that directory. Update your profile, such as personal links (e.g., Email, Instagram, LinkedIn, PubMed, etc) or your biography as you please.
Adding a new member is as simple as creating a new member file in _members
.
Profile photos should be 600px X 600px and are stored in images/headshots
using the naming format FirstnameLastname.png
.
All changes to _members
are reflected on the web page upon pushing to GitHub and merging.
Citations are based on the ORCID ID of Dr. Steven Boyd. If you see a missing citation you can edit _data/sources.yaml
and identify
the missing publication by DOI. If you want to associate an image with a particular citation, that is defined in the same file.
Typically a copy of the first page of the journal publication is a good image to use, and these are stored in images/journal/
.
Since we are all members of the University of Calgary we try to stick to the brand standards. Details can be found here.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Built with Lab Website Template