This page is your article reader layout. It follows the same purple/white design system: soft background, purple accent, rounded cards, and clean typography.
1) Folder structure
Keep your blog simple: routes, controllers, models, and views. Start with one controller for public pages and one for admin.
app/
Controllers/
Models/
Views/
public/
css/
img/
2) Article model shape
Each article can have: title, slug, excerpt, content, cover image, category, language, and publish date.
Tip: Use a “slug” for pretty URLs like /post/how-to-build-ci4-blog.
3) Keep the reading experience clean
Use a strong title, readable line length, generous spacing, and clear sections.
Quick win
Add a table of contents later using headings (
h2/h3) and JS.
Comments