Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve drafts & status system #12

Open
jonbullock opened this issue Apr 24, 2013 · 4 comments
Open

Improve drafts & status system #12

jonbullock opened this issue Apr 24, 2013 · 4 comments
Milestone

Comments

@jonbullock
Copy link
Member

Improve drafts & status system.

@ghost ghost assigned jonbullock Apr 24, 2013
@jonbullock jonbullock added this to the future milestone Apr 18, 2017
@mhoennig
Copy link
Contributor

I'm working on this because the current draft system is really unsable. See also issue 652.

My personal requirements:

  • draft posts should be rendered with '-draft' added, as it's now, is fine
  • but there should be no links from non-draft pages to draft-posts
  • also prev/next should never point to draft-posts, maybe except if the page is a draft itself
  • draft articles should not count for the tag-counters
  • I would like to have a page drafts.html similar to archive.html which contains all drafts
  • I want to be able to add password protection to all draft-related pages via .htaccess/.htpasswd

Most of these requirements I've already implemented in my local version, but it's not production ready yet and unit tests need to be improved.

What would be your requirements?

@McNetic
Copy link

McNetic commented Nov 25, 2020

There should also be a usable way to iterate over published content of [type] (currently, there are only collections of all content of type, which could in theory be filter, but must take into account the possible values of status (draft, published and also published-date).
Don't forget to consider the status "published-date" in all of the requirements. It would probably make sense to add a boolean field "published" to the content data model.

@jonbullock
Copy link
Member Author

Happy to receive any pull requests related to the above 👍

ge0ffrey pushed a commit to ge0ffrey/jbake that referenced this issue Dec 28, 2021
Override JBake properties from plugin configuration
ge0ffrey pushed a commit to ge0ffrey/jbake that referenced this issue Dec 28, 2021
jonbullock pushed a commit to jonbullock/jbake that referenced this issue Feb 11, 2022
rename task jbake to bake and fix usage of jbake snapshot releases
@yakoder
Copy link

yakoder commented Feb 18, 2022

What would be your requirements?

An additional two:

  • draft.prefix=[prefix]
    -- prefix could include paths
    -- path could be relative to content or begin with slash, a la .gitignore, to be off server root
  • render.drafts=[boolean]
    -- true (default, as it is now)
    -- false (do not include any drafts in output)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants