boilerplate-bootstrap

Build Bootstrap with Assemble instead of Jekyll.

assemble-bootstrap

Build Bootstrap with Assemble instead of Jekyll.

See it live →

  • Converts the liquid templates to Handlebars
  • Builds the HTML from templates using Assemble.

You must have NPM, Bower and Grunt installed globally before you begin.

  • Either download this project,
  • Or git clone https://github.com/assemble/assemble-bootstrap.git
  • Or run bower install assemble-bootstrap

cd into the project, and from the command line run:

npm i && bower install && cd vendor/bootstrap && npm i

You may now run grunt to build the project.

Note that if you want to get the absolute latest, bleeding edge Bootstrap you will need to use git clone https://github.com/twbs/bootstrap.git 'vendor/bootstrap' instead of bower install.

If you haven't used Assemble before, please visit http://assemble.io/docs to learn how to customize the task.

In the project's Gruntfile, the example assemble task is pre-loaded with paths and options to build the project successfully:

assemble: {
  options: {
    site: '<%= site %>',
    flatten: true,
    assets: 'tmp/assets',
    partials: 'tmp/_includes/*.hbs',
    layoutdir: 'tmp/_layouts',
    layout: 'default.hbs'
  },
  docs: {
    src: ['tmp/*.hbs'],
    dest: 'tmp/'
  }
}