Skip to content

Commit 1e0a11c

Browse files
committed
cleaned up config
1 parent 0c4fb31 commit 1e0a11c

File tree

1 file changed

+1
-61
lines changed

1 file changed

+1
-61
lines changed

config.rb

Lines changed: 1 addition & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,3 @@
1-
###
2-
# Compass
3-
###
4-
5-
# Change Compass configuration
6-
# compass_config do |config|
7-
# config.output_style = :compact
8-
# end
9-
10-
###
11-
# Page options, layouts, aliases and proxies
12-
###
13-
14-
# Per-page layout changes:
15-
#
16-
# With no layout
17-
# page "/path/to/file.html", :layout => false
18-
#
19-
# With alternative layout
20-
# page "/path/to/file.html", :layout => :otherlayout
21-
#
22-
# A path which all have the same layout
23-
# with_layout :admin do
24-
# page "/admin/*"
25-
# end
26-
27-
# Proxy pages (http://middlemanapp.com/dynamic-pages/)
28-
# proxy "/this-page-has-no-template.html", "/template-file.html", :locals => {
29-
# :which_fake_page => "Rendering a fake page with a local variable" }
30-
31-
###
32-
# Helpers
33-
###
34-
35-
# Automatic image dimensions on image_tag helper
36-
# activate :automatic_image_sizes
37-
38-
# Reload the browser automatically whenever files change
39-
# activate :livereload
40-
41-
# Methods defined in the helpers block are available in templates
42-
# helpers do
43-
# def some_helper
44-
# "Helping"
45-
# end
46-
# end
47-
481
activate :i18n, path: '/:locale'
492

503
helpers do
@@ -60,30 +13,17 @@ def t(id, replacements = {})
6013
end
6114

6215
set :css_dir, 'stylesheets'
63-
6416
set :js_dir, 'javascripts'
65-
6617
set :images_dir, 'images'
6718

68-
# Build-specific configuration
6919
configure :build do
70-
# For example, change the Compass output style for deployment
7120
activate :minify_css
72-
73-
# Minify Javascript on build
74-
# activate :minify_javascript
75-
76-
# Enable cache buster
7721
activate :asset_hash
78-
79-
# Use relative URLs
8022
# activate :relative_assets
81-
82-
# Or use a different image path
83-
# set :http_prefix, "/Content/images/"
8423
end
8524

8625
activate :deploy do |deploy|
8726
deploy.method = :git
8827
deploy.build_before = true # default: false
8928
end
29+

0 commit comments

Comments
 (0)