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