NITDgpOS / nitdgpos.github.io

NIT Durgapur Open Source Community Website
https://nitdgpos.github.io/
GNU General Public License v3.0
12 stars 16 forks source link
jeykll nitd official-website static-site

NIT DGP Open Source

made with :heart: via GitHub Pages

Curious how it works?

Prerequisites:

  1. Ruby2 with jekyll and bundler gems installed.

    $ gem install jekyll bundler

Follow the steps to test it on your local browser.

  1. Clone this repository. :smile:

    $ git clone https://github.com/NIT-dgp/nit-dgp.github.io

  2. Run $ bundle install to install the dependencies. ( Grab a :coffee: and :sunglasses:, cuz' it takes a while.)

  3. $ bundle exec jekyll serve to run the server. You're all set.

  4. Navigate to http://localhost:4000/to view the site.

Adding new projects

Create a new markdown file in /projects directory and add the appropriate frontmatter to it.

Frontmatter

File name should match frontmatter's title and permalink

eg:

---
layout: project
title: ExampleProject
permalink: /projects/ExampleProject
description: An example frontmatter for ExampleProject.
logo: https://example.com/cat-dog-image.png
gallery:
  - title: "Fish"
    url: "https://example.com/fish.png"
  - title: "Cat"
    url: "https://example.com/cat.png"
---