-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.rb
More file actions
34 lines (27 loc) · 825 Bytes
/
config.rb
File metadata and controls
34 lines (27 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
activate :automatic_image_sizes
set :css_dir, "stylesheets"
set :js_dir, "javascripts"
set :images_dir, "images"
set :images_dir, "assets"
set :markdown_engine, :kramdown
set :sass_assets_paths, ["#{root}/bower_components/bootstrap-sass/assets/stylesheets"]
activate :sprockets
sprockets.append_path "#{root}/bower_components"
sprockets.append_path "#{root}/bower_components/bootstrap-sass/assets/stylesheets"
configure :build do
activate :minify_css
activate :minify_javascript
end
activate :syntax
activate :deploy do |deploy|
deploy.deploy_method = :git
deploy.branch = "master"
end
activate :blog do |blog|
blog.permalink = ":year-:month-:day-:title.html"
blog.sources = "articles/:title.html"
blog.layout = "article_layout"
end
activate :asset_hash do |f|
f.ignore = ["stylesheets/wufoo.css"]
end