assemble-bootstrap
See it live →
- Converts the liquid templates to Handlebars
- Builds the HTML from templates using Assemble.
Quickstart
You must have NPM, Bower and Grunt installed globally before you begin.
First
- Either download this project,
- Or
git clone https://github.com/assemble/assemble-bootstrap.git
- Or run
bower install assemble-bootstrap
Next
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
.
The "assemble" task
If you haven't used Assemble before, please visit http://assemble.io/docs to learn how to customize the task.
Overview
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/'
Author
Jon Schlinkert
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Use Assemble to build and maintain your gh-pages, blog or documentation. Lint and test your code using Grunt.
Release History
- 2013-08-03 v0.2.0 Refactored to be awesome.
- 2013-07-16 v0.1.0 First commit.