Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@ Blog posts live in the `posts/` directory. Open a post by visiting

No build step is required. Simply open the files directly in your browser.

If your browser shows "Error loading post." when loading a blog post directly from the file system, start a local server:

python3 -m http.server

Then visit http://localhost:8000/blog.html?post=hello-world (or any slug). This avoids cross-origin restrictions that can block `fetch` from `file:` URLs.