Adding a blog post
- Copy
_post-template.html to a descriptive filename such as my-first-post.html in this folder. The underscore keeps the template itself out of the published Jekyll site. - Replace the bracketed title, date, summary, and body in your new file. Set
<html lang="en"> to zh-CN if the post is in Chinese. - In
blog.html, replace the .blog-empty block with a link to your post, for example <a class="blog-post" href="blog/my-first-post.html"><span>2026 · ESSAY</span><strong>My first post</strong><span>Read essay ↗</span></a>. - Add matching labels in the
en and zh translation objects in script.js if you want the blog listing to switch languages. The article body can be in either language. - Commit the new article and
blog.html changes to master; GitHub Pages will publish them.