lib/siteleaf/site.rb in siteleaf-1.0.1 vs lib/siteleaf/site.rb in siteleaf-1.0.2

- old
+ new

@@ -89,18 +89,18 @@ attrs['collections'][path]['permalink'] = "#{page.url}/:path" if path != page.slug end end # set permalink style for posts - attrs['defaults'] = { + attrs['defaults'] = [{ 'scope' => { 'path' => '', 'type' => 'posts' }, 'values' => { 'permalink' => "/#{posts_path}/:title/" } - } + }] # markdown defaults to match v1 rendering attrs['markdown'] = 'redcarpet' attrs['redcarpet'] = { 'extensions' => ['autolink', 'fenced_code_blocks', 'lax_spacing', 'strikethrough', 'superscript', 'tables', 'footnotes', 'highlight'] \ No newline at end of file