Inline plugin for Craft CMS 3.x
Inline the contents of a file in a twig template., (*1)
Installation
To install Inline, follow these steps:, (*2)
- Install with Composer via
composer require luwes/craft3-inline
- Install plugin in the Craft Control Panel under Settings > Plugins
Inline works on Craft 3.x., (*3)
Inline Overview
Internally uses the PHP function file_get_contents
., (*4)
Using Inline
{{ inline(assetsUrl ~ '/images/logo.svg') | raw }}
, (*5)
Inline Roadmap
Some things to do, and ideas for potential features:, (*6)
Brought to you by Wesley Luyten, (*7)