Skip to content

Commit

Permalink
Update posts.11tydata.js (google#138)
Browse files Browse the repository at this point in the history
Remove tags from computed data list
  • Loading branch information
omair-inam authored Jun 13, 2022
1 parent 7cd1429 commit 835ee34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posts/posts.11tydata.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ module.exports = () => {
eleventyComputed: {
eleventyExcludeFromCollections: (data) =>
showDraft(data) ? data.eleventyExcludeFromCollections : true,
permalink: (data) => (showDraft(data) ? data.permalink : false),
tags: ["posts"],
permalink: (data) => (showDraft(data) ? data.permalink : false),
},
tags: ["posts"],
};
};

0 comments on commit 835ee34

Please sign in to comment.