Skip to content

Commit

Permalink
allow disabling with frontmatter tag
Browse files Browse the repository at this point in the history
  • Loading branch information
natedsaint committed Aug 15, 2016
1 parent 40f8a69 commit cd66948
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/cuervo.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ Cuervo.prototype = {
if (timeStamp < post.rawDate) {
return;
}
// if the post is disabled, skip it
if (post.disabled) {
return;
}

post.name = d[4];
if (!post.tags) {
Expand Down

0 comments on commit cd66948

Please sign in to comment.