Preview the sample image which is made in Bootswatch "flatly" theme.
middleman
gem and generate a new project:.middleman/blog-bootstrap
: 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
config.rb
as you like.
theme_name
to your favorite bootswatch theme.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
build/
.bower_components/
directory outside of the source. bower.json
as you like, and simply bower install
and include it like you would any other file in sprockets.By default, bootstrap or bootswatch is installed.
You can edit _settings.scss
, _imports.scss
as you like.
Confirmed in ruby 2.0.0p247, rubygem 2.0.3, middleman 3.2.2
helpers/
, a few helpers are inclueded to help out with organizing the following information on your site.
feed.xml
and sitemap.xml
enables you to tell your readers / search engines the update of articles.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!