Skip to content

Latest commit

 

History

History
96 lines (49 loc) · 3.72 KB

UPDATING_VIA_GUI.md

File metadata and controls

96 lines (49 loc) · 3.72 KB

How to update the website using the GitHub interface

Fork the repository

Use the "Fork" button in the top right corner of the repository to fork it to your personal account.

fork

If you already have a fork, navigate to it: https://github.com/my-username/gehlenborglab-website

(fill in the my-username part of the URL above)

Updating / adding lab member details

Navigate to the _members folder:

navigate to _members

Adding a lab member

Click here to select all template contents and copy them to your clipboard (Edit -> Select All, then Edit -> Copy).

copy template contents

Create a new file in the _members/ folder.

create members file

Enter the filename.

enter your name

Paste the template contents from your clipboard (Edit -> Paste).

paste template contents

Edit the template to insert your information.

  • The information between the --- lines must be formatted using the YAML front matter syntax.
  • The information below the second --- line (line 17 in the above image) must be formatted using markdown syntax.
  • If you would like to include your social media account links, un-comment those lines by removing the # in front.

When you are ready, scroll down. Click the "Create a new branch for this commit and start a pull request" option. Enter firstname-lastname/details and click the "Propose new file" button.

propose new file

The following page will appear. Click "compare across forks".

click compare across forks

Use the first dropdown to select the option with the hms-dbmi/ prefix.

choose hms-dbmi base repo

Click the "Create pull request button" to finish.

create pull request

Adding a photo

To add a photo, navigate to assets/img/members in your forked repository:

https://github.com/my-username/gehlenborglab-website/tree/instructions/assets/img/members

(fill in the my-username part of the URL above)

Click the "Upload files" button.

upload files

Drag-and-drop or select your image file firstname-lastname.png

Images must be smaller than 10k x 10k pixels. Most images should be less than 2k x 2k pixels.

drag files

Once again, follow the steps to start a pull request:

Click the "Create a new branch for this commit and start a pull request" option. Enter firstname-lastname/photo and click the "Propose changes" button.

propose new file

The following page will appear. Click "compare across forks".

click compare across forks

Use the first dropdown to select the option with the "hms-dbmi/" prefix.

choose hms-dbmi base repo

Click the "Create pull request button" to finish.

create pull request