Skip to content

Update lab website

lucl13 edited this page Oct 6, 2022 · 4 revisions
  1. Clone the website code repositories from Github

    git clone [email protected]:glasgowlab/glasgowlab.github.io.git
  2. 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
    ````
  3. 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
  4. add the custom domain

    visit Pages (github.com) , search Custom domain and change it to "glasgowlab.org", save

Clone this wiki locally