Skip to content

corolab/corolab.github.io

Repository files navigation

CoRoLab UoM

Currently hosted at https://corolab.github.io

If you have any doubts or comments

  1. Please check if you can find the answer through the corresponding file and/or folder in-source documentation, as well as in the Issues section (both Open and Closed issues).
  2. If your doubt or comment is not a duplicate, please post a detailed New issue.

How-To's

How to serve on localhost

It is useful to serve on localhost to modify the website and see changes locally.

  1. From the root of the project, run the following command (which is universal for all jekyll-based projects):
bundle exec jekyll serve
  1. You can now browse the site at the default location: http://127.0.0.1:4000

How to upload changes to GitHub

This project is managed as any project on GitHub. You may use Git or even the GitHub web interface, both on which you can find many tutorials online. The following points are specific to the GitHub Pages mechanism used, and its current settings:

  1. Please do not upload the _site/ folder, nor the Gemfile.lock file. They are auto-generated locally, and the same should happen on the GitHub Pages servers.

  2. It is safe to git push to any upstream branch, just remember that what is on master is what will be actually rendered as the website.

How to add/modify website metadata and social media links

  1. The first line of this README.md file, which is the file you are reading, becomes the .html <head> <title> (what is seen on the browser's tab description).

  2. The /_config.yml contains metadata that is important for SEO, basic project settings, as well as links to social media. You can add new links on it for free, and they will be rendered nicely.

  3. More colors and also behaviours have also set up in /_includes/css/agency.css.

How to modify the About section

This section is in fact in plain .html, the /_includes/about.html file, which you can edit manually. If images are ever added, please create an img/about/ folder.

How to add/modify a Member

This section is slightly more complex. To keep everything tidy, please place all used images in the /img/members/ folder (note: images must currently be 720x720).

  1. We auto-magically parse the different type of Members from the /_members/ folder. Insert or modify .markdown files as described in the /_members/README.md file. Advanced: the parsing is achieved via the jekyll collections mechanism, implemented here and here.

  2. The rest of members may be edited manually in plain .html, the /_includes/members.html file.

How to add/modify a Robot

This section is in fact in plain .html, the /_includes/robots.html file, which you can edit manually. To keep everything tidy, please place all used images in the /img/robots/ folder (note: images must currently be 720x720).

How to add/modify a Project

This section is in fact in plain .html, the /_includes/projects.html file, which you can edit manually. To keep everything tidy, please place all used images in the /img/projects/ folder (note: images must currently be 720x720).

How to add a new section

Here is how to add a new (static) section, as was done for about, robots, or projects:

About

COROLAB website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 15