src/data/config/site.json file controls your site’s global identity, sticky header, and footer branding. Changes here apply across every page without modifying individual page files.
site.json structure
The file has three top-level keys:header, footer, and identity. Each key maps to a configuration block that controls a distinct part of every page.
src/data/config/site.json
Identity
Theidentity block sets site-wide metadata that applies to every page by default.
string
required
The document title used in browser tabs and as the default
<title> tag for pages that do not override it. Set this to your site or brand name.Header configuration
Theheader block controls everything you see in the top navigation bar. Its data object holds the display fields; settings controls behaviour.
string
required
The primary wordmark text rendered in the header. Displayed in your site’s wordmark font at the configured weight.
string
An optional second segment of the wordmark rendered in the primary accent color. Combine with
logoText to create a two-tone logo treatment — for example "Inkwell" + "journal" renders the second word in your brand accent color.string
A short banner message shown inside the header bar. Use this for site-wide announcements, feature callouts, or demo notices. Leave the field out entirely to hide the announcement strip.
A JSON Reference (
$ref) pointing to the menu array to render in the header. The value must resolve to an array of menu item objects. See Menus for the full reference.Header settings
boolean
default:"false"
When
true, the header stays fixed at the top of the viewport as the user scrolls. When false, the header scrolls with the page content.Footer configuration
Thefooter block controls the global site footer. Its data object holds branding copy and contact details; settings controls the logo display.
The brand name rendered in the footer wordmark area.
A short description of your site displayed beneath the brand name in the footer. Supports plain text only.
A contact email address rendered as a
mailto: link in the footer.The copyright notice shown at the very bottom of the footer. Include the year and any legal text you require.
A JSON Reference (
$ref) pointing to the footer menu array. Resolves to an array of link objects rendered as a navigation row in the footer.Footer settings
When
true, the site logo is rendered alongside the brand text in the footer. When false, only the text is shown..png?fit=max&auto=format&n=AyzhRn9-CO-nDNc4&q=85&s=63c78e2325701880237e6cbce1399c2a)
.png?fit=max&auto=format&n=AyzhRn9-CO-nDNc4&q=85&s=0db283df6e4d31745079d6d03fd029ed)