christopherdarling/silverstripe-template-inline-file

Loads a theme asset and outputs the content inline

2.2.2 2025-05-28 12:15 UTC

This package is auto-updated.

Last update: 2025-05-28 12:16:13 UTC


README

Returns a files contents to be rendered inline in a template.

Example

$TemplateInlineFile($ThemeDir, '/dist/svg/logo.svg')