Skip to content

nybles/adam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ac65a4e · Sep 18, 2017
Mar 20, 2017
Jun 25, 2017
Jul 31, 2017
Jun 25, 2017
Jul 31, 2017
Jul 1, 2016
Apr 10, 2017
Mar 13, 2017
Apr 10, 2017
Jul 31, 2017
Mar 13, 2017
Jun 5, 2016
Mar 19, 2017
Aug 1, 2016
Aug 1, 2016
Mar 9, 2017
Jul 31, 2017
Sep 18, 2017
Jul 31, 2017
Jun 25, 2017
Jun 25, 2017
Mar 13, 2017
Apr 21, 2017
Mar 22, 2017
Mar 19, 2017
Jul 31, 2017

Repository files navigation

Nybles is the Tech newletter for IIIT-Allahabad.

Join the chat at https://gitter.im/nyblenews/Lobby We invite posts from everyone.

Post layout

---
layout: Post
title: Add your title
author: Author name
categories: Only three categories are now : future, trending and campus
intro: Will be shown in the main page if specified
---

content should be added here,No need to add title name again.

Adding Images in Post

All images in post are loaded when they appear on screen.So images should be added in the following way:

<img class="lazy" src="" data-original="" alt="">

src and data-originals should have same path or link to image.
alt includes title of image as text.

Scripts

if you want to fetch another persons pull request and edit,then

./fetch_pull_request <pull-request-id> <remote value = upstream by default>

Layout

Here's the clue for hackers:

  • The posts are in the _posts directory.

  • The site data is available in _data directory.

    • The links in navbar / sidebar can be edited from _data/urls.json.
    • The social links for the blog owner can be provided from _data/social.json.
    • The list of events are available at, and can be modified from _data/events.json.
  • The _config.yml is the configuration file for the entire blog. Handle with care!

Original fork*

Git/Github Tutorials

Git: Introduction

Github: Introduction

Merge Commits

Squash Commits

##Installation - I want to see this running live on my computer.

Prerequisites

Mac OSX/Linux

Jekyll is built with jekyll which comes as a ruby gem. So you need to install Ruby to get started.

RVM make it easy to install and manage different versions of Ruby. Install Ruby using RVM by running the following commands

~ $ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

~ $ \curl -sSL https://get.rvm.io | bash -s stable --ruby

This installs RVM with the latest stable version of Ruby

Ubuntu users: You may need to enable Run command as a login shell in Ubuntu's Terminal, under Edit > Profile Preferences > Title and Command. Then close the terminal and reopen it. You may also want to run source ~/.rvm/scripts/rvm to load RVM.

To install ruby gems from a Gemfile you would need bundler which by default comes with RVM ruby but if isn't present you would need to install it using the command gem install bundler.

Windows

If on Windows, you can follow this guide on how to install jekyll.

Deployment

After you have installed Ruby and cloned the repository deploy the application running the following commands

# Enter the app directory


# Install gems using bundler
~$ bundle install

# Build site starting jekyll server
~$ bundle exec jekyll serve

You are ready to go! Browse to http://localhost:4000