Title here
Summary here
Partials are reusable template fragments you include from layouts.
In a Thulite project, partials live in layouts/_partials/ (for example header/, head/, main/, and sidebar/).
Call a partial from a layout and pass the current page context:
{{ partial "sidebar/section-menu.html" . }}You can also pass a custom dictionary when a partial needs specific values:
{{ partial "inline-svg" (dict "src" "file-text" "class" "text-muted") }}Add a file to layouts/_partials/, then include it from home.html, list.html, single.html, or another partial.
Use partials for repeated UI blocks and shared rendering logic. Keep them small and focused.
Build reusable template fragments.
Use partialCached for expensive partials.