-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.rb
More file actions
46 lines (37 loc) · 978 Bytes
/
config.rb
File metadata and controls
46 lines (37 loc) · 978 Bytes
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
activate :sprockets do |c|
c.expose_middleman_helpers = true
end
activate :autoprefixer do |prefix|
prefix.browsers = "last 2 versions"
end
page '/*.xml', layout: false
page '/*.json', layout: false
page '/*.txt', layout: false
set :relative_links, true
set :markdown_engine, :redcarpet
set :markdown, fenced_code_blocks: true, smartypants: true
configure :development do
activate :livereload
activate :directory_indexes
end
configure :build do
activate :asset_hash
activate :relative_assets
activate :minify_css
activate :minify_javascript
end
activate :gh_pages do |gh_pages|
gh_pages.remote = 'https://github.com/partialconf/2017.partialconf.com'
end
activate :blog do |blog|
blog.prefix = 'blog'
blog.layout = 'blog_layout'
blog.permalink = '{title}.html'
blog.summary_separator = /\n\n/
end
activate :syntax
activate :ogp do |ogp|
ogp.namespaces = {og: data.ogp.og}
ogp.base_url = 'http://2017.partialconf.com/'
ogp.blog = true
end