写文章

写文章

这个站点使用 Jekyll 的 _posts/ 目录管理文章。每篇文章都是一个 Markdown 文件,推送到 master 后会自动发布到 GitHub Pages。

新建文章

文件名使用日期开头,例如:

_posts/2026-09-05-my-first-note.md

文章开头添加 Front Matter:

---
title: "文章标题"
date: 2026-09-05
excerpt: "文章摘要,会显示在首页文章列表。"
categories:
  - development
tags:
  - notes
  - learning
---

然后直接使用 Markdown 写正文:

## 一个小标题

这里写文章内容。

```python
print("hello, xingkongmix")
```

文章发布后会自动出现在:

  • 首页的 Notes 区域
  • /blog/ 文章归档页
  • 文章自己的详情页

写作建议

  • 一篇文章只讨论一个清晰的问题。
  • 开头先写背景和结论,再展开过程。
  • 代码、截图和链接都注明来源。
  • 还没写完的文章可以放进 _drafts/,完成后再移动到 _posts/。