Set layout: in a page's front matter to render that page through a
different layout. This overrides the site's layout: setting in
lazysite.conf (or the domain's, on a multi-domain site).
---
title: Landing Page
layout: landing
---
The layout: value resolves the way the site-wide one does:
lazysite/layouts/NAME/layout.tt - an installed layoutThe name is sanitised to a-z, A-Z, 0-9, _, - only.
The layout: value can be a remote URL:
---
layout: https://example.com/layouts/special/layout.tt
---
Remote layouts are cached and sandboxed the same as a site-wide remote layout. See Remote layouts.
Create a minimal layout for a specific page:
# lazysite/layouts/bare/layout.tt
[% content %]
Use it in the page:
---
title: Embed Widget
layout: bare
---
<div id="widget">Widget content</div>