Editing without touching HTML — Denzel
Denzel’s HTML edition has no admin panel: posts, categories, authors and every other text are written into the pages, and you edit files (Editing the site).
When someone who doesn’t write HTML needs to publish, the options are the same for every Framebrick template: keep editing the files (GitHub’s web editor works too), a visual editor such as CloudCannon, or an edition built for a CMS. They are explained in Edit HTML templates without touching HTML. This page lists what is specific to Denzel, for whoever sets that up.
For a CMS, the Denzel Astro or Denzel Next.js edition is the shorter road: the same design, with the collections below in data files and a documented path to Sanity, Payload, Strapi, Directus or any headless CMS. For a blog that grows every week, it is the better choice.
Collections
Section titled “Collections”The repeated content of the site, and the fields each item shows:
| Collection | In the demo | Fields | Pages |
|---|---|---|---|
| Post | 26 | slug, title, excerpt, cover photo and its alt text, category (a link to a category), author (a link to an author), date, body (rich text) | blog/<slug>.html, the cards of Home, Blog, its category’s and author’s pages, the sidebar’s Recent, the footer’s Celebration, Related Posts and More Articles, the search list |
| Category | 5 (Business, Technology, Economy, Fashion and the default Uncategory) | slug, name, description, photo and its alt text | category/<slug>.html, the menu, the posts’ category labels and breadcrumbs, Explore Topics (with its number of posts), the search list |
| Author | 6 (five writers and the default Admin) | slug, name, bio, photo and its alt text, Facebook, Twitter and Instagram links | author/<slug>.html, the posts’ author lines, “More Articles by …”, the search list |
The site’s name, the footer’s introduction and e-mail, the social links and the newsletter’s texts are single blocks repeated in every page, not collections.
Relations
Section titled “Relations”No item holds a link to another in the HTML; each place holds a copy:
- a post names one category and one author, shown as links on its cards and its page; a category’s page and an author’s page list their posts, newest first;
- order: the newest post first, as a CMS should sort them; Blog shows every post at once, Home’s “Latest” the newest eight;
- Home’s slider (six posts), Editor’s Pick (three), Trending (six), the sidebar’s Recent (four) and the footer’s Celebration (two) are posts picked by hand: in a CMS, a “featured” flag or a hand-sorted list per block;
- a post’s “Related Posts” lists the first three other posts of its category, “More Articles by …” the first three other posts of its author;
- Explore Topics shows the four categories with their number of posts; the default Uncategory and Admin are left out of the lists, the menu and the search;
- the search lists the categories, the posts and the authors, with a category’s description, an author’s bio, or a post’s excerpt, category and author as extra words to match.
Rich text
Section titled “Rich text”A post’s body uses a few tags:
| Block | HTML |
|---|---|
| Paragraph | <p class="not-first:mt-5"> |
| Heading | <h3 class="font-serif text-[22px] leading-[1.4] font-bold text-ink [&_strong]:font-black not-first:mt-10"> |
| Smaller heading | <h4 class="font-serif text-lg leading-[1.4] font-semibold text-ink [&_strong]:font-black not-first:mt-10"> |
| Bulleted list | <ul class="list-none not-first:mt-2.5"> with <li class="relative ps-[2ch] before:absolute before:start-0 before:content-['•']"><p>…</p></li> |
| Numbered list | <ol class="list-none not-first:mt-2.5"> with <li class="relative ps-[2ch] before:absolute before:start-0 before:tabular-nums before:content-[counter(list-item)'.']"><p>…</p></li> |
| List inside a list item | <ul class="list-none"> with before:content-['◦'] on its items, after the item’s <p> |
| Bold | <strong class="font-bold"> inside a paragraph, a heading or a list item |
There are no links, images, italics or quotes in the demo’s texts. Headings often carry their number as text and a bold
title (1. <strong>Regulatory Landscape and Market Sentiment</strong>), and most list items open with a bold label
(<strong>Market Reaction</strong>: Regulatory crackdowns…).
Images
Section titled “Images”Every photo sits in a frame and is cropped to fill it, so a photo of other proportions works; use images at least as large as the layout needs:
| Image | Size |
|---|---|
| A post’s cover (its cards, the slider, its page, its share image) | 1600 wide (most 1600 × 1067) |
| A category’s photo (its page, round in Explore Topics) | 800 × 533 |
| An author’s photo (round) | 120 × 120 |