biblichor / middleman-blog-bootstrap-template

A middleman-blog template that uses bootstrap, bootswatch, font-awesome with bower.
MIT License
33 stars 12 forks source link

middleman-blog-bootstrap-template

Features:

Preview the sample image which is made in Bootswatch "flatly" theme.

Installation

  1. If you're just getting started, install the middleman gem and generate a new project:
  2. Download/clone to .middleman/blog-bootstrap:
  3. Create your new Middleman project with thie template:
  4. Install the assets in the bower_components/ directory.
gem install middleman
git clone https://github.com/biblichor/middleman-blog-bootstrap-template.git ~/.middleman/blog-bootstrap
middleman init my_new_project --template=blog-bootstrap
cd my_new_project
bower install

Configuration

Blog configuration

set :site_url, 'http://blog.url.com'
set :site_author, 'Blog author'
set :site_title, 'Blog title'
set :site_subtitle, 'Blog subtitle'
# Select the theme from bootswatch.com.
# If false, you can get plain bootstrap style.
# set :theme_name, 'flatly'
set :theme_name, false
# set @analytics_account, like 'XX-12345678-9'
@analytics_account = false

Bower configuration

SCSS configuration

By default, bootstrap or bootswatch is installed. You can edit _settings.scss, _imports.scss as you like.

Requirements

Confirmed in ruby 2.0.0p247, rubygem 2.0.3, middleman 3.2.2

Helpers configuration, etc.

Misc

This project is forked from headcanon's middleman-bower-template (Big thanks to headcanon).

All the problems or questions are welcome. And of cource if you have a better idea, give it a fork! Thanks!