About

Theme engine with the dual-shell public layout, design tokens and composable blocks

Provides

Routes
/admin/appearance/admin/menus/lang/<code>/robots.txt
Hooks filled
layout.authenticated_sidebar
Translations
es

Configuration

Setting Default What it does
SITE_NAME empty What the site calls itself in its own header. Empty falls back to the package name, which is what the code calls it and not what anybody types into a browser.
SITE_TAGLINE empty No description yet.
SITE_BRAND_MODE both Header brand when the Appearance panel says nothing: logo, text or both, and the logo height in pixels, from 16 to 200.
SITE_LOGO_SIZE 40 No description yet.
SITE_LOGO empty The header logo, a path inside the product's static folder, like "media/logos/logo.svg". Empty draws no logo.
THEME_TOKENS empty The palette and fonts over the theme's defaults, as a JSON object of token name to CSS value, like '{"primary": "#287FB9", "font_url": ""}'. A value that does not parse, or a token the theme does not have, stops the boot.
SITE_BREADCRUMBS deep Where the automatic breadcrumb trail appears when the Appearance panel says nothing: deep shows it only on pages two levels down or more, all on every page except the home, off never.

These are the defaults. A product changes them in its own pyproject.toml, under [tool.splent.config], or in .env.deploy in production.

Dependencies

In product lines

Extension points

Hook slots
layout.body_startlayout.footerlayout.headlayout.herolayout.navlayout.nav.endlayout.scripts
Templates
blocks/breadcrumb.htmlblocks/hero.htmlerrors/404.htmlerrors/500.htmlpublic_base.htmltheme/admin/appearance.htmltheme/admin/menus.html
Routes
A refinement can add routes to its blueprint

Other features fill its hook slots. A refinement can override its templates and services or extend its models without forking it.

Compatibility

Python
>=3.13
SPLENT framework
>=1.30.0