Skip to content
Studio

Writing content

  • content

Create a new file in src/content/posts. Give it front matter with a title, a description and a date. The schema in src/content.config.ts checks these fields during the build.

Set draft: true to hide an entry. The build skips it.

Later, Sveltia CMS writes the same files through GitHub. The site code does not change.

Back to the journal