forked from garnertb/grafana.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.rb
49 lines (37 loc) · 941 Bytes
/
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
require 'slim'
set :site_title, "Grafana"
set :site_url, "http://grafana.org"
page "/feed.xml", :layout => false
with_layout :docs do
page "/docs/*"
end
page "/graphing.html", :layout => false
page "/blog/*", :layout => :article
page "/blog/index.html", :layout => :layout
activate :blog do |blog|
blog.prefix = "blog"
end
activate :livereload
activate :syntax
set :markdown_engine, :redcarpet
set :markdown,
:fenced_code_blocks => true,
:smartypants => true,
:tables => true,
:no_intra_emphasis => true,
:prettify => true,
:with_toc_data => true
set :css_dir, 'assets/stylesheets'
set :js_dir, 'assets/javascripts'
set :images_dir, 'assets/img'
configure :build do
activate :minify_css
activate :minify_javascript
#
# Enable cache buster
# activate :asset_hash
# Use relative URLs
# activate :relative_assets
# Or use a different image path
# set :http_path, "/Content/images/"
end