diff --git a/README.md b/README.md index bf64dbf..e27ca31 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,14 @@ **Stack:** Static HTML · Tailwind CSS · Vanilla JS --- +## BLOG POSTS +Blog posts live in `blog.json` — do not create separate backup files. +To add a blog post customize this command +jq '.arrays[0] = [$NEW_JSON] + .arrays[0]' blog.json > tmp.json && mv tmp.json blog.json + + ## Repository Rules - -- Blog posts live in `blog.json` — do not create separate backup files. - Do not touch this readme - Keep the seperation of Site and the blogposts in blog.json Example of JSON structure for blog.json