Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 784fc50714
Fetching contributors…

Cannot retrieve contributors at this time

57 lines (42 sloc) 1.223 kB
# CodeRay syntax highlighting in Haml
# activate :code_ray
# Helpers
helpers do
def text_field(name, options = {})
label_tag(name, :caption => options.delete(:caption)) <<
text_field_tag(name, options.merge(:class => name))
end
end
with_layout :releaseLayout do
page "/index.html"
page "/test_joined.html"
end
# Change the JS directory
# set :js_dir, "scripts"
# Change the images directory
# set :images_dir, "alternative_image_directory"
# set :views, File.dirname(__FILE__)
# Build-specific configuration
configure :build do
with_layout :releaseLayout do
page "/*"
end
`./join`
# For example, change the Compass output style for deployment
# activate :minify_css
# Minify Javascript on build
# activate :minify_javascript
# Enable cache buster
# activate :cache_buster
# Use relative URLs
# activate :relative_assets
# Compress PNGs after build (gem install middleman-smusher)
# require "middleman-smusher"
# activate :smusher
# Generate ugly/obfuscated HTML from Haml
# activate :ugly_haml
# set :http_prefix, "file:///home/jonas/projects/markup_editor/build/"
set :http_prefix, "/markupEditor"
end
require 'lib/markup'
use Rack::Markup
Jump to Line
Something went wrong with that request. Please try again.