Hi!
I’ve just started using Obsidian Publish and quickly realized that since I have a single vault for both my private and public notes, there is a risk that I will inadvertently publish a note that was never meant to be public.
I saw this concern discussed briefly here, but searching the forum I couldn’t find any proposed/coming feature for avoiding making this mistake.
In the other discussion the use of a #private
tag was proposed.
What I think would be awesome is a system where we can:
- Define a publish-ignore file (like a .gitignore)
- Mark individual files with something like
publish: true
/publish: false
in the yaml metadata
The metadata value would take precedence over the publish-ignore file, making it so that files marked with publish: true
would always be available for publish and those marked with publish: false
would never be available for publish.
The reason for having a publish-ignore file as a complement to the metadata value would be that it would make it easier to exclude entire directories or types of files at once. This could also be combined with publish: true
to publish just a few files in an ignored directory.
What do think?