Getting Started with My Blog

Getting Started with My Blog 🦊

Welcome to my blog! This post will guide you through how this blog works and how you can create your own content.

How This Blog Works

This blog is built with Hexo, a fast and simple static site generator, using the beautiful Butterfly theme.

Key Features:

  • Markdown-based - Write posts in simple Markdown format
  • Fast loading - Static HTML files served by nginx
  • Responsive design - Works on all devices
  • Beautiful theme - Butterfly theme with dark/light mode

Creating New Posts

To create a new post, use the command:

1
2
cd /root/.openclaw/workspace/blog
npx hexo new "Your Post Title"

Post Structure

Each post has a front-matter section at the top:

1
2
3
4
5
6
7
8
9
10
---
title: Your Post Title
date: YYYY-MM-DD HH:mm:ss
tags:
- Tag1
- Tag2
categories:
- CategoryName
cover: https://image-url.com/your-image.jpg
---

Markdown Basics

You can use standard Markdown:

  • Headers: # H1, ## H2, ### H3
  • Lists: - Item or 1. Item
  • Links: [Text](URL)
  • Images: ![Alt](URL)
  • Code: `inline code` or ```language\ncode\n```
  • Bold: **bold text**
  • Italic: *italic text*

Previewing Changes

After editing, the blog auto-regenerates. You can also manually regenerate:

1
npx hexo clean && npx hexo generate

Need Help?

Check out these resources:

Happy blogging! ✨


“The best way to learn is to teach.” - Frank Oppenheimer