Our lab's website. We are using Jekyll, a static website generator.
- Go to
_data/members.yml - Edit or add what you want
- You can add your name, email, homepage
For the picture, please choose an image with 1:1 aspect ratio like the others. (Suggested size: 600x600px)
Place the file at assets/img/members/your_name.jpg and reference it in members.yml with just your_name.jpg.
- Add a new file in
_posts/news/or_posts/projects/(for example, by duplicating and renaming an existing one). - You can write the content in Markdown format
- If the post has a picture, place it in assets/img/news, or assets/img/projects, respectively.
- Go to
_data/publications.yml - Append the list by copy-pasting one of the items and filling in your information.
Please check that the site still works before you submit a pull request. You can do this by:
bundle install && jekyll serveor, if you want to use Docker
docker run --rm -p 4000:4000 -v "$(pwd):/src" -it zxzl/kixlab-homepage jekyll serve --host=0.0.0.0Then visit localhost:4000 in your browser.
Please don't commit directly to master, if you can avoid it.
- Create a new branch from master:
git checkout -b my-branch-name - Add and commit your changes.
git statusto check what you did,git add ...to add new files,git commit -m "Put a comprehensive summary of your changes here" - Push your new branch:
git push(depending on your settings, git will complain and tell you what to do instead). - Go to https://github.com/kixlab/kixlab.github.io and create a new Pull Request for your branch.
- Someone with authority will go on and merge your changes.