Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vliz-be-theme

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vliz-be-theme

  • 0.4.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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 Rust and Ruby must be installed.

Rust

To install Rust go to Rust.

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.

_includes

The following includes are available:

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.

FAQs

Package last updated on 20 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc