Skip to content

andlab-um/lab-website

Repository files navigation

AND Lab Website

Twitter URL

Affective, Neuroscience and Decision-making Lab is part of CCBS at University of Macau.

This website is built with Jekyll. It is derived from the great template provided by research-lab-website and Allan Lab, at Leiden University.

Local Setup & Run

# 1. install Ruby (https://www.ruby-lang.org/en/documentation/installation)
# 2. install Jekyll
gem install bundler jekyll
# 3. clone this repository and go to the folder
git clone https://github.com/andlab-um/lab-website.git
cd lab-website
# 4. install the dependencies
bundle install
# 5. deploy the website locally (default: http://localhost:4000)
bundle exec jekyll serve

Contribute

!!! If you don't have permission to directly edit this repository, please consider one of the following:

  1. Fork this repository and submit a pull request (highly recommended).
    1. Fork this repository to your account (just click the "fork" button).
    2. Go back to this repository and add/edit the files you want to change.
    3. Follow the instructions to submit a pull request.
  2. Open an issue and describe your request.

Add a new member

Adding new member photos under assets/images/team folder. Member information is stored as yaml file under _data/member.yml. Each entry must look like this (be careful with spaces):

It's better to learn some basic rules of yaml, like YAML tutorial in the context of Jekyll. Some items are not necessary. The optimal personal photo width-height ratio is 3:4.

- title: Role of following members
  members:
    - name: Member name
      image: Member image file name
      content: Some description
      social:
        email: [email protected]
        website: "https://www.example.com"
        github: "https://github.com/username"
        google-scholar: "https://scholar.google.com/xxxxx"

Add a new publication

Publications are stored as markdown file under _pages/publication.md. Just add a new entry like this (check basic markdown syntax):

Wu, H., Fung, B. J., & Mobbs, D. (2022). **Mentalizing during social interaction: the development and validation of the interactive mentalizing questionnaire**. *Frontiers in psychology*, 12. [[Link](https://doi.org/10.3389/fpsyg.2021.791835){:target='_blank'}]

Update (2022-12-07): please also add a BibTex entry at the beginning of the assets/files/ANDlab-publications-Bibtex.bib file.

Add news

Just post it on our lab Twitter account and it will automatically show up.

Update (2024-03-14): Twitter news is currently disabled due to the Twitter API bug. Please add news in the _pages/home.md file in a markdown format.

Edit template

We use Bootstrap v3 for designing the website. Feel free to modify either the _pages or the _layouts components.