Learn how to draft clear posts with front matter, excerpts, and headings that feed the sidebar TOC.
Create a New Post
- Name it
YEAR-MONTH-DAY-title.markdown. - Add front matter:
layout,title,date,categories,tags, andtoc: true.
Structure the Content
- Start with a short intro.
- Insert
<!--more-->where you want the excerpt to stop on listing pages. - Use nested headings to populate the sidebar.
Example Headings
- Overview
- Steps
- Step A
- Step B
- Notes
Add Media and Code
Use fenced code blocks and images stored under assets/.
Preview Locally
Run bundle exec jekyll serve and confirm the sidebar shows every heading.
PREVIOUSPart 1: Setup
NEXTPart 3: Publish