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

Don't rewrite files of draft entries #137

Closed
fluffy-critter opened this issue Nov 17, 2018 · 3 comments
Closed

Don't rewrite files of draft entries #137

fluffy-critter opened this issue Nov 17, 2018 · 3 comments
Labels
enhancement New feature or request

Comments

@fluffy-critter
Copy link
Collaborator

fluffy-critter commented Nov 17, 2018

Expected Behavior

If an entry is not yet visible (e.g. it's DRAFT or GONE), don't rewrite the file's Date header.

Still rewrite Entry-ID and UUID though, since those are useful for preparing interlinked content.

@fluffy-critter fluffy-critter added the enhancement New feature or request label Nov 17, 2018
@fluffy-critter
Copy link
Collaborator Author

Except the point to this is to not have files change in clobbering ways on git-based site deployments. If you are preparing interlinked content there are other approaches to getting Entry-ID et al without using DRAFT mode, such as running the site locally.

@fluffy-critter fluffy-critter added the wontfix This will not be worked on label Nov 28, 2018
@fluffy-critter
Copy link
Collaborator Author

This actually doesn't properly address the use case I'm thinking of. If you want to bump the publish time when you remove DRAFT status, just delete the Date header too.

@fluffy-critter fluffy-critter removed the wontfix This will not be worked on label Jan 16, 2019
@fluffy-critter fluffy-critter changed the title Don't rewrite files of invisible entries Don't rewrite files of draft entries Jan 16, 2019
@fluffy-critter
Copy link
Collaborator Author

This is actually pretty darn useful after all - when editing an entry in-situ on the website directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant