jekyll-foundation

jekyll-foundation

My own version of merging Jekyll with Foundation


title: README layout: page permalink: /about/


This is my attempt to bring together Jekyll and Foundation in harmony. This perhaps may be a bit of overkill, but I wanted to use all the tools that were most "natural" for everything:

  • I want my gems in Bundles, not installed globally. Yes, even Jekyll.

  • Foundation wants to be installed via bower. Sure I could just import the files manually, but that's why we have computers.

  • I don't want to have to copy/minify/whatever my assets by hand, so let's add a dash of Jekyll Assets. Mostly this was to tie together bower's directories and the standard directories as simply as I could.

  • Minimalist: While Foundation does have everything and the kitchen sink, I'd rather just pull in what I need. So this project tends to pull individual portions of Foundation and trust to assets to minify them later.

The theme is Foundation's Blog template, with some bits extracted from Jekyll's default theme.

Prerequisites

Quickstart

gem install bundler
bundle install
cd vendor
npm install
node_modules/.bin/bower install
cd ..
rake

Rakefile

The rakefile provides some simple tasks to help avoid typing bundle exec jekyll repeatedly: build, serve, and doctor. All of them pass their arguments to Jekyll. So to serve your site with all your upcoming posts run rake serve[--future].

In order to generate compressed assets, there is a compress task. Use this before build or serve, like so: rake compress build. Note that using rake compress alone will do nothing, you must specify another task afterwards.

jekyll logo

Want a Jekyll website built?

Hire a Jekyll developer