← Back to site

Managing Instagram Posts

Instagram posts displayed on the website are stored in src/content/instagram/ as Markdown files. The landing page shows the latest 3 posts.

Creating a Post Entry

Create a new .mdx file in src/content/instagram/. The filename can be anything — posts are sorted by the date frontmatter field, not by filename. Editors using the Keystatic admin UI get a slug derived from the post URL automatically.

---
url: "https://www.instagram.com/p/DTtCU_xCO2f/"
date: 2026-02-05
---

The body of Instagram files is not used. Copy the post URL directly from Instagram’s share menu.

Required Fields

FieldTypeDescription
urlstringFull Instagram post URL
datedateDate of the post (YYYY-MM-DD)

Optional Fields

FieldTypeDescription
isDraftbooleanSet to true to hide in production (default: false)

Display Order

Posts are sorted by date, newest first.