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, and research interest
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.
- If you need to upload additional materials (e.g., paper, poster, slide) please upload files to this repo. Then the URL will be
https://www.kixlab.org/files/{path in the repo}
.
Please check that the site still works before you submit a pull request. You can do this by:
bundle install && jekyll serve
or, if you want to use Docker
DOCKER_BUILDKIT=1 docker build -t kixlab-homepage . && docker run --rm -p 4000:4000 -v "$(pwd):/src" -it kixlab-homepage
Then visit localhost:4000
in your browser.
We have to update redirect rules defined in _redirects
.
For example, to host https://cs473-fall-2018.netlify.com
in courses/cs473-fall-2018
,
We have to add two lines to _redirects
/courses/cs473-fall-2018 /courses/cs473-fall-2018/index.html 301!
/courses/cs473-fall-2018/* https://cs473-fall-2018.netlify.com/:splat 200
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 status
to 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.