christopherdarling/silverstripe-template-inline-file

Loads a theme asset and outputs the content inline

2.1 2018-12-20 13:09 UTC

This package is auto-updated.

Last update: 2025-03-15 18:49:09 UTC


README

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

Example

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