Update default config.rb to be a bit more modern
This commit is contained in:
parent
3080857316
commit
1362a1fc81
|
@ -24,10 +24,9 @@
|
||||||
# page "/admin/*"
|
# page "/admin/*"
|
||||||
# end
|
# end
|
||||||
|
|
||||||
# Proxy (fake) files
|
# Proxy pages (http://middlemanapp.com/dynamic-pages/)
|
||||||
# page "/this-page-has-no-template.html", :proxy => "/template-file.html" do
|
# proxy "/this-page-has-no-template.html", "/template-file.html", :locals => {
|
||||||
# @which_fake_page = "Rendering a fake page with a variable"
|
# :which_fake_page => "Rendering a fake page with a local variable" }
|
||||||
# end
|
|
||||||
|
|
||||||
###
|
###
|
||||||
# Helpers
|
# Helpers
|
||||||
|
@ -36,8 +35,7 @@
|
||||||
# Automatic image dimensions on image_tag helper
|
# Automatic image dimensions on image_tag helper
|
||||||
# activate :automatic_image_sizes
|
# activate :automatic_image_sizes
|
||||||
|
|
||||||
# Enable middleman-livereload
|
# Reload the browser automatically whenever files change
|
||||||
# First: add it to your Gemfile and run bundle install
|
|
||||||
# activate :livereload
|
# activate :livereload
|
||||||
|
|
||||||
# Methods defined in the helpers block are available in templates
|
# Methods defined in the helpers block are available in templates
|
||||||
|
@ -77,7 +75,7 @@ configure :build do
|
||||||
# activate :minify_javascript
|
# activate :minify_javascript
|
||||||
|
|
||||||
# Enable cache buster
|
# Enable cache buster
|
||||||
# activate :cache_buster
|
# activate :asset_hash
|
||||||
|
|
||||||
# Use relative URLs
|
# Use relative URLs
|
||||||
# activate :relative_assets
|
# activate :relative_assets
|
||||||
|
|
Loading…
Reference in a new issue