Skip to main content
1 min read

Welcome to My Blog

On this page
Welcome to My Blog

Welcome to My Blog!

This is a sample blog post to help you get started. You can edit this content at /admin/ (Sveltia CMS) or by editing the markdown files in src/content/blog/.

How to Create a New Post

  1. Open your site’s /admin/ page and sign in with GitHub (or use “Sign in with Token” with a GitHub PAT)
  2. Go to Blog Posts in the sidebar
  3. Click Create new and fill in title, excerpt, and content

Frontmatter Fields

Each blog post supports the following fields:

  • title (required): The post title
  • excerpt: A short summary shown in previews
  • publishedAt (required): Publication date
  • updatedAt: Last update date
  • featured: Mark as a featured post for homepage highlighting
  • tags: Array of tags for categorization
  • cover: Cover image with src and alt properties
  • draft: Set to true to hide the post from production

Markdown Features

You can use all standard markdown features:

  • Bold text and italic text
  • Links
  • Lists (like this one!)
  • Code blocks
  • And more…

Happy blogging!