-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.rb
53 lines (42 loc) · 1.42 KB
/
config.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
######################################################################
# General settings.
######################################################################
# Asset locations
set :css_dir, 'stylesheets'
set :js_dir, 'javascripts'
set :images_dir, 'images'
# Loads IE8 compatible versions of normalize & jQuery if true (1.x).
# Otherwise, loads IE8 incompatible versions (2.x).
set :ie8_support, false
# Syntax highlighting.
activate :syntax
set :syntax_theme, Rouge::Themes::Base16
# Slim's default format is xhtml. Why oh why?
Slim::Engine.default_options[:format] = :html5
# Ignores
ignore '/calendar.html'
######################################################################
# Development environment.
######################################################################
configure :development do
Slim::Engine.default_options[:pretty] = true
activate :livereload
activate :directory_indexes
end
######################################################################
# Build environment.
######################################################################
configure :build do
activate :relative_assets
activate :directory_indexes
activate :asset_hash
# Ensmallen assets
activate :minify_css
activate :minify_javascript
activate :gzip
#
# Change to your Google Analytics key (e.g. UA-XXXXX-Y)
# To disable GA, leave unset or set to nil
set :ga_key, 'UA-47158936-1'
set :ga_site, 'dropouts.cz'
end