On this page
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
- Open your site’s /admin/ page and sign in with GitHub (or use “Sign in with Token” with a GitHub PAT)
- Go to Blog Posts in the sidebar
- 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
srcandaltproperties - draft: Set to
trueto 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!