- Compatible with
jekyll_plugin_support
v1.0.0
- Added Jekyll block tags
if_secret
andunless_secret
. - Added Jekyll inline tags:
unless_draft_only
,else_if_secret
andelse_if_not_secret
. - Added Liquid filter:
is_secret
. - Added method
draft_only?
andsecret?
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