Git Product home page Git Product logo

ghblog-template's Introduction

Blogging template for GitHub pages

buzzwords:
- jekyll
- responsive web design (initializr-template)
assets:
- jquery 1.7.1
- twitter bootstrap 2.0.2
- modernizr 2.5.3
seo:
- microformats
- rich snippets
- page-specific title and description
sosials:
- +1
- tweet

Usage

  • Fork.
  • Rename the repo to username.github.com.
  • Push something to your renamed repo to trig GitHub to generate the page, for example, edit _configs.yml and set the correct url. You should do this anyway to setup seo.
  • Browse to http://username.github.com to see the result.

If you like to polish the default design or know some awesome Jekyll magic, I'm happy to merge pull requests.

Try locally

git clone https://[email protected]/kblomqvist/ghblog-template.git
cd ghblog-template
jekyll --server --auto --url=""

Now open your browser and go to localhost:4000. The url param tells the jekyll to override the url specified in _config.yml. Overwriting url with empty string gives us baseurl, which is "/". This way the links, for example in archive list, link to their local copies -- not to our production version, which would otherwise be the case because of the seo.

Did not have Jekyll? To install Jekyll you have to have Ruby and Ruby gems installed. If you do not have these yet, it is recommended to install Ruby locally:

# MANDATORY! Install a bunch of support software
sudo aptitude install build-essential curl autoconf \
zlib1g zlib1g-dev bison openssl libssl-dev \
libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev

# Install RVM locally (no sudo!)
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

# Install Ruby 1.9.3 locally (no sudo!)
rvm install 1.9.3

# If you got ssl cert errors
#echo insecure >> ~/.curlrc

# Use Ruby in this login session
rvm use 1.9.3

Now you are ready to install Jekyll (do not use sudo)

gem install jekyll 

License

The code that this project consists of is licensed under MIT and is based of MIT-licensed work by Tom Preston-Werner.

Assets

  • Twitter Bootstrap: Apache License, Version 2.0.
  • jQuery: MIT/GPL license.
  • Modernizr: MIT/BSD license.
  • Normalize.css: Public Domain.
  • Icons from Glyphicons Free, licensed under CC BY 3.0.
  • The template design is based on initializr-template.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.