Module: Jekyll::DraftFilter

Defined in:
lib/filters.rb

Instance Method Summary collapse

Instance Method Details

#draft_html(doc) ⇒ Object



11
12
13
# File 'lib/filters.rb', line 11

def draft_html(doc)
  Draft.draft_html doc
end

#is_draft(doc) ⇒ Object

rubocop:disable Naming/PredicateName



7
8
9
# File 'lib/filters.rb', line 7

def is_draft(doc) # rubocop:disable Naming/PredicateName
  Draft.draft? doc
end

#root(doc, site) ⇒ Object



15
16
17
# File 'lib/filters.rb', line 15

def root(doc, site)
  Draft.root(doc, site)
end