Static Site Generator DSL for Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
spec
.gitignore
.rspec
.travis.yml
CODE_OF_CONDUCT.md
Gemfile
LICENSE
README.md
Rakefile
rakyll.gemspec

README.md

Rakyll

Hakyll-inspied static site generator.

Installation

Add this line to your application's Gemfile:

gem 'rakyll'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rakyll

Usage

This is an example.

  • You need templates directory.
    • You write html template with erb, and place it in templates.
  • You might need a directory to place markdown contents.
    • In the example above, its name is products.
  • You might need a directory to place static files(js, css, images).
    • In the example above, its name is assets.

Then, write site.rb, execute ruby site.rb, and _site directory will be generated.