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: 2024-03-15 16:34:36 UTC


README

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

Example

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