Use Assemble to create a blog from GitHub Gists! Consider this an example of how to get started with Assemble.
CSS JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
src
.gitignore
.travis.yml
Gruntfile.js
LICENSE-MIT
README.md
bower.json
index.html
package.json
posts.html

README.md

assemble-gist-blog

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.

Getting Started

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.

Styles

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.

Related Projects

Assemble's documentation

assemble-boilerplates

grunt-init-assemble

grunt-init-assemble-helper

Contributing

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.

Authors

Jon Schlinkert

Brian Woodward

Copyright and license

Copyright 2013 Assemble

MIT License