Static Names#
These two calls point at the same kind of partial:
<Card />{{ partial:card }}You can also use src:
{{ partial src="card" }}Dynamic Names#
Use explicit partial tags when the partial name needs to come from a value:
{{ partial src="sets.home.{set}" }}Dynamic partial names are useful for flexible content sets, where each set can render a matching partial.
Wrapped Tags#
Explicit partial tags can also receive slot content:
{{ partial:card }} <p>{{ excerpt }}</p>{{ /partial:card }}Use component notation for normal static partials. Use explicit partial tags when you need dynamic names or low-level control.