本文记录博客日常维护所需的所有操作。
前提:进入博客目录
所有操作都在本机终端执行,先进入博客目录:
cd /Users/chengzhenbang/Documents/website/einverne.github.io
一、新增文章
1. 创建文件
在 _posts/ 目录下新建 Markdown 文件,文件名格式必须为:
YYYY-MM-DD-文章标题.md
例如:_posts/2026-03-01-my-new-post.md
2. 标准文章格式
---
layout: post
title: "文章标题"
date:
Read more ...