Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Taking your approach on designing things actually makes it fun, more natural, and overall easier.

— Dominik, Developer

partial Modifier

Inject a variable's data into a partial and render it without any page scopes whatsoever. This is really just syntactical sugar, but it is delicious.

data:
title: Bubble Guppies
content: Science died a little bit today.
<!-- /site/themes/<your_theme>/partials/demo.html -->
<h1>{{ title }}</h1>
{{ content | markdown }}
 
<!-- Template Markup -->
{{ data | partial('demo') }}
<h1>Bubble Guppies</h1>
<p>Science died a little bit today.</p>
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →