Home
Blog
Showcase
Community
Introduction
Overview
Introduction To TinaCMS
Getting Started
Using the Tina Editor
FAQ
Core Concepts
Content Modeling
Data Fetching
Visual Editing
Querying Content
Overview
Writing custom queries
Editing
Overview
Markdown & MDX
Block-based editing
Single Document Collections
Customizing Tina
Overview
Validation
Custom Field Components
Custom List Rendering
Format and Parse Input
Filename Customization
Before Submit function
Going To Production
Overview
Tina Cloud
Self-Hosted
Drafts
Overview
Draft Fields
Editorial Workflow
Guides
Overview
Framework Guides
Separate Content Repo
Querying Tina Content at Runtime
Internationalization
Migrating From Forestry
Overview
Setting up Tina
Common Errors & Fixes when Migrating to TinaCMS
Comparing Forestry & Tina Concepts
Accessing the CMS
Local Workflow
Previews
Content Modelling
Drafts
Data Files
Media
Missing Forestry Features
Reference
Overview
Config
Schema
The "tina" folder
The TinaCMS CLI
Media
Search
Content API
Tina's edit state
The "tinaField" helper
Self-Hosted Components

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',
},
],
},
]

Product

Showcase
Tina Cloud
Introduction
How Tina Works
Roadmap

Resources

Blog
Examples
Support
Media

Whats New
TinaCMS
TinaCloud
Use Cases
Agencies
Documentation
Teams
Jamstack CMS
Benefits
MDX
Markdown
Git
Editorial Workflow
Customization
SEO
Comparisons
TinaCMS vs Storyblok
TinaCMS vs Sanity
TinaCMS vs DecapCMS
TinaCMS vs Contentful
TinaCMS vs Builder.io
TinaCMS vs Strapi
Integrations
Astro
Hugo
NextJS
Jekyll