Features Pricing About Blog FAQ
Back to Blog
Getting Started

Hello World: Your First Blog Post

| Team

Hello World

Welcome to your new blog! This is a sample post to demonstrate how content collections work in Astro with full i18n support.

Writing Blog Posts

To create a new blog post, add a Markdown file to src/content/blog/en/ (for English) or src/content/blog/de/ (for German). Each post needs frontmatter with the following fields:

  • title (required): The post title
  • description (required): A short summary for SEO and listing pages
  • publishDate (required): Publication date in YYYY-MM-DD format
  • updatedDate (optional): Last update date
  • author (optional): Author name (defaults to “Team”)
  • tags (optional): Array of tag strings for categorization
  • relatedPosts (optional): Array of blog post slugs for cross-linking
  • relatedKnowledge (optional): Array of knowledge base article slugs for cross-linking

Internal Linking

You can link to other content within your site using standard Markdown links. The remark plugin automatically rewrites internal links for the correct locale at build time.

Link to another blog post: Check out Building Your First Feature for a hands-on tutorial.

Link to a knowledge base article: If you’re new here, start with our Getting Started guide in the knowledge base.

Link to other pages: Visit our FAQ or Pricing pages for more information.

Tip: Always write internal links without a locale prefix (e.g., /blog/slug not /de/blog/slug). The remark plugin handles locale prefixing automatically for non-default locales.

Markdown Features

You can use all standard Markdown features:

  • Bold text and italic text
  • External links
  • Code blocks with syntax highlighting
  • Lists, headings, blockquotes, and more
// Example code block
const greeting = "Hello, World!";
console.log(greeting);

This is a blockquote. Use it to highlight important information.

Next Steps

  1. Read Building Your First Feature for a more advanced example
  2. Browse the Knowledge Base for documentation
  3. Replace these sample posts with your own content
  4. Run pnpm dev to preview your blog locally