luiz.sh

A simple blog

Hello World!

2025-06-07

By Luiz

Hello World!

This is a sample blog post that demonstrates how to structure your markdown files with YAML frontmatter for the blog.

YAML Frontmatter

The YAML frontmatter is the section at the top of the file between the triple dashes (---). It contains metadata about the post, such as:

  • title: The title of the post
  • date: The publication date
  • author: The author's name
  • tags: A list of tags for the post
  • summary: A brief summary of the post

Markdown Content

After the frontmatter, you can write your post content using Markdown syntax. The blog supports standard Markdown features:

Text Formatting

You can use bold, italic, or ~~strikethrough~~ text.

Lists

Unordered lists: - Item 1 - Item 2 - Item 3

Ordered lists: 1. First item 2. Second item 3. Third item

Code

Inline code: print("Hello, World!")

Code blocks:

def hello_world():
    print("Hello, World!")

hello_world()

Blockquotes

This is a blockquote. It can span multiple lines.

Links and Images

Link to Google

Alt text for an image

Storing Posts

Store your posts in the GitHub repository in the posts directory (or whatever directory you specified in your .env file). The filename (without the .md extension) will be used as the slug for the post URL.

For example, if you name your file my-first-post.md, it will be accessible at /posts/my-first-post.

python flask github