blog config ready
This commit is contained in:
@ -50,7 +50,10 @@ after_configuration do
|
||||
end
|
||||
|
||||
activate :blog do |blog|
|
||||
# set options on blog
|
||||
blog.paginate = true
|
||||
blog.layout = "layouts/blog.html"
|
||||
blog.tag_template = "tag.html"
|
||||
blog.sources = "blog/{title}.html"
|
||||
end
|
||||
|
||||
#video pages
|
||||
@ -58,6 +61,8 @@ data.video.keys.each do |vdo|
|
||||
proxy "video/#{vdo}.html", 'video/template.html', locals: {video: data.video[vdo]}, ignore: true
|
||||
end
|
||||
|
||||
activate :directory_indexes
|
||||
|
||||
# Build-specific configuration
|
||||
configure :build do
|
||||
# For example, change the Compass output style for deployment
|
||||
|
Reference in New Issue
Block a user