diff --git a/blog.js b/blog.js index c6fbc14..23ca756 100644 --- a/blog.js +++ b/blog.js @@ -13,7 +13,7 @@ const defaultConfig = { module.exports = { blogPosts: () => { var posts = [] - var pinned = [] + var pinned = ["balls"] var dir = fs.readdirSync(paths.posts) dir.sort(function(a, b) { @@ -46,9 +46,9 @@ module.exports = { } } } - return pinned + posts + return pinned.concat(posts) } } -module.exports.blogPosts() \ No newline at end of file +console.log(module.exports.blogPosts()) \ No newline at end of file