You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
7:56 AM is there a way to hide draft documents via renaming the file or meta-data, i'd rather not remove the file
8:04 AM answered that myself: http://docpad.org/docs/meta-data
8:13 AM hmm…. ignore: true doesn't seem to be working for me
8:24 AM ah, it seems that docpad run need to be restarted in order for the ignored: true to take effect… interestingly, a restart isn't required to unhide the document. is this intended?
Not sure if this is the case, but if it were it would be because ignore is for the parsing stage, rather than the writing etc stage. We could add a listener for ignore: true which then removes the file from the database.
Now that the database is persistant, we could add a on ignore change listener to the database and if it is true, remove it from the database. However, we will also need to remove the outPath file.
I just run into this issue when using the paginated plugin. The document itself is ignored, great, but other documents referencing it are not (despite referenceOthers: true).
For example after un-publishing a blog post its url will return 404 (correct) but pages referencing it (post index page for example) will not be regenerated, resulting in dead links.
Not sure if this is the case, but if it were it would be because ignore is for the parsing stage, rather than the writing etc stage. We could add a listener for
ignore: true
which then removes the file from the database.Value unknown.
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: