put the condition back to only show the posts if they're published.
This commit is contained in:
parent
2e46a7f9c4
commit
d07baf532a
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ module.exports = function(eleventyConfig) {
|
|||
eleventyConfig.addCollection("feed", function(collectionApi) {
|
||||
return collectionApi.getAllSorted().reverse().filter(item => {
|
||||
let showInFeed = false;
|
||||
//if(!item.data.published) return false
|
||||
if(!item.data.published) return false
|
||||
if(item.filePathStem.startsWith('/notes/')){
|
||||
if(item.data['like-of']) item.data.postType = "like"
|
||||
else if(item.data['in-reply-to']) item.data.postType = "reply"
|
||||
|
|
Loading…
Reference in a new issue