rono23

Upgrading to Middleman 4

Global variable

# config.rb
set :site_title, 'rono23'

# before
site_title

# after
config.site_title

Template local variable

# before
data.page.title

# after
current_resource.data.title

Deployment

# Gemfile
gem 'middleman-deploy', '~> 2.0.0.pre.alpha'

# before
activate :deploy do |deploy|
  deploy.method = :git
  deploy.branch = 'master'
end

# after
activate :deploy do |deploy|
  deploy.deploy_method = :git
  deploy.branch = 'master'
end

Related: Middleman: Upgrading to v4