v.Latest
Documentation
Comparing Tina & Forestry: Drafts
Loading last updated info...
On This Page
Drafts In Forestry
In Forestry, if you're using a static site generator like Hugo, we automatically show a "draft" toggle for each document. This makes it easy to switch between draft and published versions of your content, and to preview your changes before making them live.

Drafts in Tina
In TinaCMS, you need to explicitly add a "draft" field to any collection that can be a draft. This means that you have more control over which collections can be drafts, but it also means that you'll need to add this field yourself, rather than having it automatically included.

// ...collections: [{name: 'doc',label: 'Docs',path: 'content/docs',format: 'md',fields: [{name: 'draft',label: 'Draft',type: 'boolean',},],},]