- [Options:](#options)
Your site settings are configured from .tina/settings.yml.
The following is an example of settings.yml file.
---
sections:
- type: directory
path: content/posts
label: Posts
create: documents
match: '**/*.md'
templates:
- BlogPost
Here, the only configuration that Tina needs to know about is your section mapping. This tells Tina which sections of your site will contain editable data and maps different templates to different sections of the site. E.g: everything in the “/content/posts section should use the “BlogPost” template
type: Type of content directory (directory, document,heading, etc)
path: Path to folder from repository root (only applies to directory type)
label: Text to display in Tina sidebar
create: Restrictions on creating new content items (all, documents, none)
match: Glob of files to match inside of path (only applies to directory type)
exclude: Glob pattern of files to exclude (only applies to directory type)
templates: Control Which Front Matter Templates can be used in section