Sha256: 7f403b6a3f1c96c35310037e560e64bc70314d63cf832f61ef118ac3e6186ac0

Contents?: true

Size: 1.27 KB

Versions: 5

Compression:

Stored size: 1.27 KB

Contents

# For custom domains on github pages
page "CNAME", layout: false

set :css_dir, 'stylesheets'
set :js_dir, 'javascripts'
set :images_dir, 'images'

# Better markdown support
# set :markdown, :tables => true, :autolink => true, :gh_blockcode => true, :fenced_code_blocks => true
# set :markdown_engine, :redcarpet

activate :autometatags

# Turn this on if you want to make your url's prettier, without the .html
# activate :directory_indexes

# Automatic image dimensions on image_tag helper
# activate :automatic_image_sizes

# Easier bootstrap navbars
activate :bootstrap_navbar

configure :development do
  activate :livereload
end

# Build-specific configuration
configure :build do
  # Any files you want to ignore:
  ignore '/admin/*'
  ignore '/stylesheets/admin/*'

  # For example, change the Compass output style for deployment
  activate :minify_css

  # Minify Javascript on build
  activate :minify_javascript

  # Enable cache buster
  activate :asset_hash

  # Use relative URLs
  activate :relative_assets

  # Or use a different image path
  # set :http_prefix, "/blog/"
end


# This will push to the gh-pages branch of the repo, which will
# host it on github pages (If this is a github repository)
activate :deploy do |deploy|
  deploy.method = :git
  deploy.build_before = true
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
happy_seed-0.0.15 lib/generators/happy_seed/static/templates/config.rb
happy_seed-0.0.14 lib/generators/happy_seed/static/templates/config.rb
happy_seed-0.0.13 lib/generators/happy_seed/static/templates/config.rb
happy_seed-0.0.12 lib/generators/happy_seed/static/templates/config.rb
happy_seed-0.0.11 lib/generators/happy_seed/static/templates/config.rb