Sooner or later, a client asks for a blog. Most websites don't need a database for that. A list of repeatables and a template will do.
The blog page
Start with a page that lists every post. Each post is a repeatable that's locked, with the title, date, and summary unlocked so they can be edited.
<div id="posts" class="cms-editable">
<article class="post-item cms-repeatable cms-lock">
<h2 class="cms-unlock"><a href="blog/summer-hours.html">New summer hours</a></h2>
<p class="post-date cms-unlock">June 3, 2026</p>
<p class="cms-unlock">Starting June 10, we're open until 9 on Fridays and Saturdays.</p>
</article>
</div>
Your client can duplicate a post, drag it to the top, and change the words, but they can't break the markup. Keep ids out of the repeatable, because duplicating it would copy them too.
This blog works the same way.
A template for posts
Next, open the site and select Templates. Create a template from one of your pages, with regions for the title, date, and body.
<article class="post">
<h1 id="post-title" class="cms-editable">Post title</h1>
<p id="post-date" class="cms-editable" data-type="text">Date</p>
<div id="post-body" class="cms-editable">
<p>Write your post here.</p>
</div>
</article>
Once a site has a template, New Page is enabled, and new posts start from it. Put your header and footer in static includes so posts get the same navigation as every other page.
New posts are copies of the template. If you change it later, existing posts stay the way they are. Includes are the exception. When you publish a page, its static includes are updated in your templates too.
Writing a post
For your client, adding a post takes two steps.
- Create a new page from the post template, write the post, and publish it.
- Open the blog page, duplicate the newest post, change the title, date, summary, and link, and publish it.
It's one more step than a database-driven blog. For a website that posts a few times a month, that's a fair trade for having nothing on the server to update or secure.
Each post is its own page, so your client can also give it a title and description for search engines with metadata.
A few more ideas
- Add blocks for things that show up in posts often, like a photo with a caption or a callout.
- When the list gets long, move older posts to an archive page with the same markup.
News and events
A news page is the same setup with a different name. So is an events page, where the date is the event and the summary says where it is. Use it for press releases, job openings, or a portfolio too.
If an item doesn't need its own page, like a short announcement, a menu item, or a staff bio, skip the template and put everything in the repeatable. Adding one is then a single step. One bar uses this for its beer menu.
When you need more
If your client posts every day or needs categories, tags, search, or comments, a database-driven blog is a better fit. Keep the blog there and the rest of the website static.
If you get stuck setting this up, feel free to contact us for help.