Commit 9f00ab5b authored by Lauren Barker's avatar Lauren Barker

create middleman blog releases and move blog parts inside releative directories

parent e1d651c1

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -32,8 +32,11 @@ set :markdown_engine, :kramdown
set :markdown, tables: true, hard_wrap: false, input: 'GFM'
activate :blog do |blog|
blog.sources = 'posts/{year}-{month}-{day}-{title}.html'
blog.permalink = '/blog/{year}/{month}/{day}/{title}/index.html'
blog.name = 'blog'
# This will add a prefix to all links, template references and source paths
blog.prefix ='blog'
blog.sources = '{year}-{month}-{day}-{title}.html'
blog.permalink = '/{year}/{month}/{day}/{title}/index.html'
blog.layout = 'post'
# Allow draft posts to appear on all branches except master (for Review Apps)
blog.publish_future_dated = true if ENV['CI_BUILD_REF_NAME'].to_s != 'master'
......@@ -43,7 +46,29 @@ activate :blog do |blog|
blog.custom_collections = {
categories: {
link: '/blog/categories/{categories}/index.html',
template: '/category.html'
template: '/blog/category.html'
}
}
# blog.tag_template = '/templates/tag.html'
# blog.taglink = '/blog/tags/{tag}/index.html'
end
activate :blog do |blog|
blog.name = 'releases'
# This will add a prefix to all links, template references and source paths
blog.prefix ='releases'
blog.sources = '{year}-{month}-{day}-{title}.html'
blog.permalink = '/{year}/{month}/{day}/{title}/index.html'
blog.layout = 'post'
# Allow draft posts to appear on all branches except master (for Review Apps)
blog.publish_future_dated = true if ENV['CI_BUILD_REF_NAME'].to_s != 'master'
blog.summary_separator = /<!--\s*more\s*-->/
blog.custom_collections = {
categories: {
link: '/releases/categories/{categories}/index.html',
template: '/releases/category.html'
}
}
# blog.tag_template = '/templates/tag.html'
......