- Added ability to return a page in any collection, or those not in a collection, whose path uniquely contains a string is a draft or not.
- Uses the binary search added in
jekyll_all_collections
v0.3.8 to findAPage
s whosehref
matches a suffix.
- Compatible with
jekyll_plugin_support
v1.0.0
- Added Jekyll inline tag:
unless_draft_only
. - Added method
draft_only?
to API moduleJekyll::Draft
.
- Jekyll block tags:
if_draft
andunless_draft
. - Jekyll inline tags:
else_if_not_draft
andelse_if_draft
. - Jekyll inline tag
draft_html
. - Liquid filters:
is_draft
draft_html
- Module
Jekyll::Draft
defines an API with the following methods:draft?
returns a boolean indicating if the document passed to it is a draft.draft_html
returns the same string thedraft_html
tag returns, indicating if the document passed to it is a draft.
- This version was published prematurely by accident. It is broken, do not use it.
- This is a complete rewrite, incompatible with previous versions.
- Avoids Jekyll generating the message
Deprecation: Document#published is now a key in the #data hash.
- Avoids Jekyll generating the message
Deprecation: Document#draft is now a key in the #data hash.
- Works with CSS classes instead of generating CSS styling
- Improved how unpublished documents are recognized
- Improved how drafts are recognized
- Initial version