Assemble a blog from gists.
It's hard to believe when you see how fast the pages render, but all of the content in the example pages is from Gists.
Download this project:
git clone https://github.com/assemble/boilerplate-gist-blog.git
Install the necessary dependencies to run the build:
npm i
Once dependencies are installed, you may build the project by running grunt
or grunt assemble
.
Currently the assemble.css
stylesheet is used in the examples, but the project is already setup to use Bootstrap if you want to edit the styles.
To do so, from the root of the project git clone
Bootstrap:
git clone -b master https://github.com/twbs/bootstrap.git "vendor/bootstrap"
(the "less" task is currently configured to use the vendor
directory)
In ./src/layouts/default.hbs
, change this:
<link rel="stylesheet" href="{{assets}}/assemble.css">
to this:
<link rel="stylesheet" href="{{assets}}/bootstrap.css">
Then run grunt less
to compile.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.
Jon Schlinkert
Brian Woodward
Copyright 2013 Assemble