elemwave / website

0 stars 0 forks source link

Elemwave website

This site is hosted in Github Pages using Jekyll - a static site generator written in Ruby.


In order to test the site on local, just run:

docker-compose up

And navigate to http://0.0.0.0:4000

Docker documentation here

Theme

The site uses a remote theme called minimal-mistakes.

Please refer to their documentation in order to check how to customise the website and use layouts.

Useful documentation

As a side note, minimal-mistakes provides different skins.

You can easily change this at _config.yml, updating minimal_mistakes_skin var.

More about skins

Overriding content

Custom bits of the code should be at /_includes.

Adding new pages

In case you want to add new pages with their own path:

  1. Create a new markdown file at root - such as about.md.
  2. Add any configuration at the top of the file following Jekyll and minimal-mistakes docs.
  3. As an important note, you should override permalink var to something like permalink: /about/.
  4. Also, it's a good idea to override the title var as well - such as title: About.

Adding blog content

In case you want to add a blog section into the site:

  1. Create a _posts folder at root.
  2. Add your posts as 2021-11-17-welcome-to-jekyll.md.
  3. Add any configuration at the top of the file following Jekyll and minimal-mistakes docs.
  4. At _config.yml, set up your permalink var as you want - more info.
  5. At _config.yml, set atom_feed.hide to false.

Deployment of the web page

How we developed the project

How to add more content

How to use Jekyll Includes

How to use custom CSS

How to update the gems and fix vulnerabilities