Advanced authoring
Every lazysite capability, by topic - the detailed how-to reference.
Every lazysite capability, grouped by topic. Open any page for the detail - each one links back here and on to the next, so you can step through a topic or read straight across.
Authoring
- 404 pageCustomise the not-found page with a standard Markdown file.
- API modeOutput pure TT content with no Markdown conversion and no layout.
- Content includesInline local or remote content directly into a page using :::include.
- Fenced divsWrap content in named CSS classes using ::: syntax.
- Filtered scanFilter scan: results by field value to build sub-indexes and custom pages.
- FormsAdd contact forms with built-in anti-spam and configurable dispatch.
- Include TTLSet parent page cache TTL from an include block.
- oEmbedEmbed video and audio from any oEmbed provider.
- Page scanScan a directory and return page metadata as a TT array variable.
- Query string variablesAccept URL query parameters as TT variables in a page.
- Raw modeOutput converted content without the view template wrapper.
- RegistriesGenerate sitemap.xml, llms.txt, and other files from page metadata.
- Remote pagesServe Markdown content fetched from a remote URL via .url files.
- RSS and Atom feedsPublish syndication feeds from pages with register: feed.rss or feed.atom.
- SearchMake pages searchable and add a client-side search UI.
- Template Toolkit variablesUse TT variables and logic in page content and the view template.
Configuration
- AuthenticationProtect pages with login requirements and group-based access control.
- Config path overrideUse a custom lazysite.conf path via command-line arg or environment variable.
- LayoutsThe structural HTML template for your site.
- lazysite.confDefine site-wide variables for the view template and page content.
- ManagerWeb-based content manager with file browser, live preview, and theme manager.
- nav.confDefine site navigation as a plain text file.
- PaymentGate content behind x402 payments with optional member bypass.
- Per-page layout overrideUse a different view template for a specific page via front matter.
- Remote layoutsLoad a layout template from a remote URL with local caching.
- Theme and layout publishingAuthor themes and layouts over WebDAV, preview them, and activate with a safe back-out - on your own or with an automated partner.
- theme.jsonTheme manifest - metadata, layout compatibility, design tokens, file list.
- ThemesDesign tokens and assets for a layout. Install multiple, activate one.
- Update channel (stable vs edge)
- ViewsControl site visual presentation with a Template Toolkit view template.
- WebDAV publishingPublish content over WebDAV with per-user credentials and access controls.
Development
- Cache managementHow lazysite caches pages and how to control regeneration.
- Content type cacheHow lazysite caches content types for raw and api mode pages.
- Development serverRun lazysite locally without Apache using the built-in dev server.
- LAZYSITE_NOCACHEBypass cache reads and writes for development and testing.
- Link auditFind orphaned pages and broken internal links.
- Static site generationPre-render all pages for deployment to static hosting.