Skip to content

Bonelab/bonelab-website

Repository files navigation

Bone Imaging Laboratory

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 🚀

Webpage Updates

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.

Common Types of Update

Here are some tips for simple updates.

Post a new idea for a project

A new idea can be added by simply creating a new file in _posts/ such as 2024-08-19-vertebral-fractures.md.

Members

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

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/.

University of Calgary Brand Standards

Since we are all members of the University of Calgary we try to stick to the brand standards. Details can be found here.

Primary Colours

Red: d6001c d6001c Gold: ffcd00 ffcd00

Secondary Colours

Light orange: ffa300 ffa300 Dark orange: ff671f ff671f Rubine Red C: ed0a72 ed0a72 1945 C (Berry): 9c0534 9c0534

Accent Colours

2400 C (Teal): 47a67c 47a67c 100 C (Light Yellow): ffe57b ffe57b 7602 C (Brown): 6c3302 6c3302 2311 C (Taupe): d3ac8b d3ac8b

Neutrals (for text only)

Black: 000000 000000 Dark Grey: 6d6e71 6d6e71 Light Grey: c7c8ca c7c8ca

Built with Lab Website Template

About

Source code for the Bone Imaging Laboratory website.

Resources

License

Stars

Watchers

Forks

Contributors 5