Update lab website - glasgowlab/home GitHub Wiki
-
Clone the website code repositories from Github
git clone [email protected]:glasgowlab/glasgowlab.github.io.git
-
Edit the Markdown files. (for example, add a card to 2_people.md )
# showacse with vim, you can use any text editor (sublime, vscode, notepad ...) cd glasgowlab.github.io.git vim 2_peple.md # add the info ````{card} Tom (he/him) | *Robot* ^^^ ```{image} people/tom.jpg :alt: chenlin :class: bg-primary mb-1 :width: 300px :align: left ``` I am a robot. +++ email: robot [at] columbia [dot] edu ````
-
add file, commit and push to the remote repository
git add 2_peple.md git commit -m 'add a robot in 2_peple.md' git push
-
add the custom domain
visit Pages (github.com) , search Custom domain and change it to "glasgowlab.org", save