Welcome to the CodeScreen Blog
How we connect our marketing site to cs-cms using the headless API — with a full content-type showcase.
This article is the reference post for local development. It exercises every content type that BlogContent.tsx renders on codescreen.in.
Headings and body copy
Level three subheading
Paragraphs support bold, italic, and underline marks in the same sentence. Use them for emphasis without breaking the editorial voice.
Blockquotes highlight pull quotes or executive summaries. They render with a left accent border on the marketing site.
Unordered lists
Headless API with website-scoped tokens
Published-only posts in public responses
Featured images with thumb and webp conversions
Category filters on the blog index
Ordered steps
Start cs-cms: php artisan serve --port=8585
Run npm run dev in codescreen-2026 (starts PHP bridge + Next.js)
Open /blog and click through to this article
Inline line break
First line before the break.
Second line after hardBreak — useful for addresses or short stanza breaks.
Code samples
Run npm run dev from codescreen-2026 while the CMS serves on port 8585.
curl -s -H "X-Website-Token: TOKEN" ""Need help? Read the CMS setup guide or publish a new draft in Filament to see it appear after status is set to published.