Back to Blog
2024-01-153 min readFeatured

Example Blog Post

This is an example blog post demonstrating how to create content for your website using simple markdown files.

ExampleGetting StartedMarkdown

Welcome to Your Blog!

This is an example blog post written in Markdown. You can use all the standard markdown features:

Headers

You can create headers using # symbols:

    1. # for H1
    2. ## for H2
    3. ### for H3

Text Formatting

    1. Bold text
    2. Italic text
    3. Inline code
    4. Links

Lists

Unordered Lists

    1. Item 1
    2. Item 2
    3. Item 3

Ordered Lists

  1. First item
  2. Second item
  3. Third item

Code Blocks

`javascript

function hello() {

console.log("Hello, world!");

} `

Blockquotes

This is a blockquote. You can use it for quotes or important notes.


How to Create New Posts

To create a new blog post:

  1. Create a new .md file in the content/blog/ directory
  2. Name it with the format: YYYY-MM-DD-post-title.md
  3. Add frontmatter at the top (the content between --- lines)
  4. Write your content using Markdown

Required Frontmatter Fields

`yaml


title: "Your Post Title"

date: "2024-01-15"

summary: "Brief description of your post"

tags: ["Tag1", "Tag2", "Tag3"]

featured: true # or false - shows in featured section

hidden: false # or true - hides post from public display

readTime: "5 min read" # optional - will be calculated if not provided


`

Hidden Posts Feature

You can now create draft posts that won't be displayed publicly:

    1. Set hidden: true to hide a post from the blog page
    2. Set hidden: false (or omit the property) to show the post
    3. Hidden posts are perfect for:
- Drafts you're still working on

- Future posts you want to prepare in advance

- Private notes that shouldn't be public yet

That's it! Your post will automatically appear on the blog page (unless it's hidden).