9 lines
204 B
JavaScript
Raw Normal View History

2016-08-24 21:36:44 -03:00
export function createEntry(path = '', slug = '', raw = '') {
const returnObj = {};
returnObj.path = path;
returnObj.slug = slug;
returnObj.raw = raw;
returnObj.data = {};
return returnObj;
}