Module: Jekyll::ContainingPageFilters
- Defined in:
- lib/jekyll_draft/common/filters.rb
Instance Method Summary collapse
- #draft_html(doc) ⇒ Object
-
#is_draft(doc) ⇒ Object
rubocop:disable Naming/PredicateName.
- #root(doc, site) ⇒ Object
Instance Method Details
#draft_html(doc) ⇒ Object
8 9 10 |
# File 'lib/jekyll_draft/common/filters.rb', line 8 def draft_html(doc) Draft.draft_html doc end |
#is_draft(doc) ⇒ Object
rubocop:disable Naming/PredicateName
4 5 6 |
# File 'lib/jekyll_draft/common/filters.rb', line 4 def is_draft(doc) # rubocop:disable Naming/PredicateName Draft.draft? doc end |
#root(doc, site) ⇒ Object
12 13 14 |
# File 'lib/jekyll_draft/common/filters.rb', line 12 def root(doc, site) Draft.root(doc, site) end |