I'm building a website and want to add a blog section using two page templates I've already spent time designing. I'm looking for a free blog framework or content management system that I can host on my own site and integrate into those existing pages instead of replacing the design with a complete hosted blogging platform. The underlying storage and extra features aren't especially important yet, but the person publishing posts should have a simple interface similar to posting on a social media site. What tools would work well for this setup?
4 Answers
A self-hosted headless CMS such as Payload CMS could be a good match. It gives the writer an admin interface for creating posts while your existing website controls the public-facing design. You would connect the two through the CMS API and map the content into your current listing and article templates.
You can also build a small custom publishing system with PHP, Django, React, or even plain JavaScript. A basic version could include login, a post editor, metadata fields, and an endpoint that supplies posts to your existing pages. It takes more initial work, but you can tailor the editor and integration exactly to the site.
I suspected custom development might be necessary, but I was hoping there was a prebuilt option to reduce the amount of work. A headless CMS may provide a useful middle ground.
The best choice depends on the technology already used for the site. For mostly static HTML, Eleventy or Hugo can generate a blog from Markdown files while preserving your templates. For a JavaScript-based project, Astro is another lightweight option. These tools are excellent for a technical author, but they generally need an additional CMS or editing workflow if a nontechnical person will publish posts.
If only one technical person were publishing, you could skip a full blog engine and store each post as Markdown with metadata such as its title, date, and URL slug. Your site could generate the post list and render articles with your existing templates. That keeps the design intact and avoids maintaining a database and admin panel. Since someone less technical needs to publish, though, a headless CMS or another editor-focused system would be a better fit.
That simple Markdown approach is appealing, but I do need a user interface that someone comfortable with posting on social media can use without editing files.

That sounds close to what I need: a friendly editing screen without having to rebuild the front end. I’m going to look into that approach.