Skip to content

Lettern vs Kirby

Keep the files. Design on the page.

A new section in Kirby

site/blueprints/pages/home.yml
sections:
  wine:
    type: fields
    fields:
      wines:
        type: structure
        fields:
          name: { type: text }
          price: { type: number }
site/snippets/wine.php
<section class="wine">
  <h2>By the glass</h2>
  <?php
  $wines = $page->wines()
    ->toStructure();
  foreach ($wines as $w): ?>
    <p><?= $w->name() ?></p>
    <p>€<?= $w->price() ?></p>
  <?php endforeach ?>
</section>
assets/css/wine.css
.wine { background: #2f3a24; }
.wine h2 { font-size: 1.75rem; }
.wine p { display: flex; }

A new section here

Add a wine list

Add a wine list under the menu.

I’ll check how the menu is built first, so the wine list matches it.

Get EntryHome
Update EntryHome

Done. By the glass now sits under the menu, in the same style. It’s saved as a draft, so guests won’t see it until you publish.

By the glass

Muscadet, Pépière€8
Assyrtiko, Santo€9
Gamay, Sunier€9

One licence: MIT.

Use it on as many domains as you like.

See it on GitHub
LetternKirby
PriceFree, MIT€99 or €349 per site1
DomainsAs many as you likeOne licence each, subdomains too2
Page designLive visual builderPHP templates4 and YAML blueprints3
FormsBuilt in, with spam filteringCode you write5
AI agentsAssistant and MCP built inA community plugin6

Checked 30 October 2026.   1. Kirby pricing   2. Kirby licence agreement   3. Kirby blueprints   4. Kirby templates   5. Kirby contact form recipe   6. Kirby MCP, a community plugin

Made without a line of PHP.

Type, colour and layout, set right on the page.

See all examples
The builder with an illustrator’s home page open, its big heading selected.

An illustrator

The builder with an architect’s home page open, its big heading selected.

An architect

The builder with a magazine’s front page open, its masthead selected.

A magazine

The builder with an art venue’s home page open, its giant heading selected.

An art venue

Design the next site on the page.