feat(website): init

This commit is contained in:
moklick
2020-10-05 10:14:49 +02:00
parent f54b93b319
commit 277e032770
140 changed files with 30517 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
function filterPublished(post) {
const isPublished = post.node.frontmatter && post.node.frontmatter.published;
return process.env.NODE_ENV === 'development' || isPublished;
}
module.exports = {
filterPublished,
};