@@ -27,13 +27,13 @@ module.exports = {
2727 file : {
2828 // What key from a File's frontmatter Reptar should use
2929 // as the property to grab the URL of the file from.
30- url_key : 'url' ,
30+ urlKey : 'url' ,
3131 // The format that your date values are formatted as.
3232 // This is used when parsing date objects.
3333 // This current format supports dates like 2016-2-28
3434 // It uses moment.js under the head and its format syntax as well:
3535 // http://momentjs.com/docs////displaying/format/
36- date_format : 'YYYY-M-D' ,
36+ dateFormat : 'YYYY-M-D' ,
3737 // Apply frontmatter values to a File based upon a defined scope.
3838 // If the scope matches a File then the default values are applied if they
3939 // are not already set.
@@ -62,7 +62,7 @@ module.exports = {
6262 // If any of the metadata values match then the File is filtered out.
6363 metadata : { draft : true } ,
6464 // If the date is in the future then it is filtered out.
65- future_date : {
65+ futureDate : {
6666 // Customize what key we should use to pull the date value from.
6767 key : 'date' ,
6868 } ,
@@ -74,14 +74,14 @@ module.exports = {
7474 post : {
7575 path : './_posts' ,
7676 template : 'index' ,
77- page_size : 6 ,
77+ pageSize : 6 ,
7878 sort : { key : 'date' , order : 'descending' } ,
7979 permalink : { index : '/' , page : '/page/:page/' } ,
8080 } ,
8181 tag : {
8282 metadata : 'tags' ,
8383 template : 'tag' ,
84- page_size : 6 ,
84+ pageSize : 6 ,
8585 sort : { key : 'date' , order : 'descending' } ,
8686 permalink : { index : '/tag/:metadata/' , page : '/tag/:metadata/:page/' } ,
8787 } ,
@@ -111,7 +111,7 @@ module.exports = {
111111 } ,
112112 ] ,
113113 // If we should remove the compile destination folder before writing.
114- clean_destination : false ,
114+ cleanDestination : false ,
115115 // Slug options.
116116 // Options passed to node-slug
117117 slug : { lower : true } ,
@@ -136,7 +136,7 @@ module.exports = {
136136 // This is a performance improvement to the time it takes to build your site.
137137 incremental : true ,
138138 // Where files created via `reptar new` should be placed.
139- new_file_permalink : '/_posts/:date|YYYY-:date|MM-:date|D-:title.md' ,
139+ newFilePermalink : '/_posts/:date|YYYY-:date|MM-:date|D-:title.md' ,
140140 // What middlewares you want enabled and what configuration settings they
141141 // should have. Can be either a string which assumes it's an npm module or
142142 // a function which is the middleware itself, or an array of either.
0 commit comments