0.0
There's a lot of open issues
a jekyll theme based on the looks and some feels of the VLIZ website
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 4.3
 Project Readme

vliz-be-theme

The vliz-be-theme is a Jekyll theme for the VLIZ website. It is mirrored of the vliz.be website.

Installation

First Ruby must be installed.

Ruby

To install Ruby go to Ruby.

Jekyll

To install Jekyll run the following command:

gem install jekyll bundler

Fetch and install the vliz-be-theme Gem

To fetch and install the vliz-be-theme Gem run the following command:

gem fetch vliz-be-theme

To install the vliz-be-theme Gem run the following command:

gem unpack vliz-be-theme-X.gem

The X is the version number of the vliz-be-theme Gem.

Bundle install the vliz-be-theme Gem

To bundle install the vliz-be-theme Gem run the following command:

cd vliz-be-theme-X
bundle install

Usage

make an index.md file in the root of your project and add the following code:

---
layout: default
---

{/% include navigation/main.html %}

Go to _data/navigation.yml and add the following code:

- title: Home
  url: /
- title: About
  url: /about/
- title: Contact
  url: /contact/

To view the page run the following command:

bundle exec jekyll serve --livereload

This will start a server on localhost:4000.

To add a new page create a new file in the root of your project and add the following code:

---
layout: default
title: About
permalink: /about/
---

Some information here

The permalink is the url of the page. The title is the title of the page. The layout is the layout of the page. The layout is located in the _layouts folder.

For more information about layouts go to Jekyll. For more information about the jekyll api go to Jekyll liquid documentation.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/vliz-be-opsci/vliz-be-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Development

To set up your environment to develop this theme, run bundle install.

Your theme is setup just like a normal Jekyll site! To test your theme, run bundle exec jekyll serve and open your browser at http://localhost:4000. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

When your theme is released, only the files in _layouts, _includes, _sass and assets tracked with Git will be bundled. To add a custom directory to your theme-gem, please edit the regexp in vliz-be-theme.gemspec accordingly.

License

The theme is available as open source under the terms of the Apache License.