How You'll Add Content in Directus

cms.achmad.dev — step by step, every time you want to publish something

1
Go to Collections → Articles → Create Item
In the Directus sidebar, click Content, then articles, then the + New button in the top right. A form opens with all the fields you need.
2
Fill in the required fields
These are the only ones you must fill in to publish:
titletextrequired
slugauto-generatedrequired
contentrich text editorrequired
categorydropdownrequired
excerptshort textoptional
featured_imagefile uploadoptional
The slug is the URL. If your title is "Frieren Season 2 Announced", Directus auto-fills it as frieren-season-2-announced. The article will live at /anime/frieren-season-2-announced.
3
Write your content in the WYSIWYG editor
The content field uses a rich text editor — it works like Google Docs. You can write paragraphs, add headings (H2, H3), bold/italic text, embed images, add blockquotes, and paste links. No HTML needed.
Images inside articles can be uploaded via the file manager icon in the editor toolbar. They're stored in Directus and served from cms.achmad.dev/assets/....
4
Set status to "Published" and save
In the top-right corner of the editor, there's a Status dropdown. Switch it from DraftPublished, then click Save. That's it.
At this moment, Directus automatically fires a webhook → Next.js regenerates the article page, the category page, and the homepage. Your article is live within seconds. No login to any server, no terminal, no redeploy.
SPECIAL TASKS
Changing the homepage hero article
Go to Content → site_settings (there's only one record). Click the hero_article field and pick a different article from the dropdown. Save. The homepage regenerates automatically.
Adding a new category
Go to Content → categories → + New. Add the name (e.g. "Cosplay") and slug (e.g. "cosplay"). Save. It immediately appears in the category dropdown when creating articles — no code changes needed.
Marking an article as Trending or Featured
When editing an article, the is_featured toggle makes it eligible for the homepage hero. Trending/New badges are separate status badges you can set per-article. No code changes.
COMMON QUESTIONS
What is a "collection"?
A collection in Directus is like a spreadsheet or a database table. The articles collection holds all your articles, one row per article. The categories collection holds all categories. You'll mostly live in the articles collection.
Can I save a draft and come back later?
Yes — leave the status as Draft and save. The article won't appear on the site until you change it to Published. You can have as many drafts as you want.
What if I make a typo after publishing?
Just edit the article in Directus and save again. The webhook fires again and the page regenerates with the corrected content within seconds.
What about the tags (hololive, spring 2026, etc.)?
Tags are typed freely in the article editor — you pick from existing tags or create new ones inline. They appear as clickable chips below the article body and are searchable.