Module: Jekyll::OtherPageFilters

Defined in:
lib/jekyll_draft/other_page/filters.rb

Instance Method Summary collapse

Instance Method Details

#page_match_draft_html(path_portion) ⇒ Object



8
9
10
# File 'lib/jekyll_draft/other_page/filters.rb', line 8

def page_match_draft_html(path_portion)
  Draft.draft_html Draft.page_match path_portion
end

#page_match_is_draft(path_portion) ⇒ Object



4
5
6
# File 'lib/jekyll_draft/other_page/filters.rb', line 4

def page_match_is_draft(path_portion)
  Draft.draft? Draft.page_match path_portion
end