Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Allow to change default for "draft" #33

Open
Programie opened this issue Apr 29, 2023 · 0 comments
Open

Allow to change default for "draft" #33

Programie opened this issue Apr 29, 2023 · 0 comments

Comments

@Programie
Copy link

I've configured Hugo to use draft: true by default for all notes so I have to explicitly specify draft: false in the notes I want to publish using Hugo.

Unfortunately, this setup results in hugo-obsidian still processing all notes and building the index for them. This results in the content of the other notes being publicly available in the contentIndex.json file.

My proposal to eliminate that issue would be to add a new option like -draft=true to allow changing the default draft status.

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

No branches or pull requests

1 participant