← Sites

<%= isNew ? 'New site' : 'Edit: ' + site.title %>

<% if (typeof success !== 'undefined' && success) { %>
<%= success %>
<% } %> <% if (error) { %>
<%= error %>
<% } %>
Identity
Appearance <%# ── Curated accent picker ─────────────────────────────────────── Was a free-form ; now a fixed set of 8 hand- picked colors that work in both light and dark themes. The hex is still what's stored in the DB β€” we just constrain WHICH hex. %>
Accent color <% const _curAccent = (site.accent || '#c2410c').toLowerCase(); %> <% accents.forEach(function(a) { %> <% }); %>
<%# ── Default theme for new visitors ─────────────────────────── 'auto' (empty value) lets the browser/OS decide via prefers-color-scheme. 'light' / 'dark' force the site default for visitors who haven't picked their own preference yet. Logged-in users with users.theme set, and visitors with a localStorage override, still win over this default. %>
Default theme for new visitors <% const td = site.theme_override || ''; %>
Palette <% palettes.forEach(function(p) { %> <% }); %>
Behaviour
Feed view
SEO & social
Search-engine verification
Custom CSS & HTML (optional)