binnyva / gatsby-garden

A Digital Garden Theme for Gatsby. Gatsby Garden lets you create a static HTML version of your markdown notes
MIT License
146 stars 41 forks source link

`private`/hidden/draft in frontmatter #13

Closed binnyva closed 2 years ago

binnyva commented 3 years ago

Think about this before implementing.

binnyva commented 3 years ago

Use youtube options - visibility: public, private, unlisted

binnyva commented 3 years ago

Obsidian has a publish flag. So we'll use that too. From the release notes...

There is now a YAML frontmatter flag for publish:. This flag affects the UI when uploading files to your publish site:

  • When publishing, the default behavior without this flag is to auto-select changed files, but not new files.
  • If you set publish: true, then new files are auto-selected to publish.
  • If you set publish: false, then we will pretend this file does not exist when publishing. This file will not show up in new/changed files. If this file was previously published, you will see an option to delete it instead.

We'll use true, false, unlisted.