Vaggelis Yfantis

Inline Assets

Vaggelis Yfantis

Latest Version Statamic 3.0+

Inline assets

Inline assets for Statamic


Require it using Composer.

composer require octoper/statamic-inline-assets

Inline Asset tag

Inline assets will inline your CSS or JS file to your HTML.

Inline assets can help you speed of your Statamic website by inlining critical CSS you can check more about that by reading this article Extract critical CSS


Pass a path to your file from the public directory to inline_assets tag.

{{ inline_assets:css src="css/site.css" }}


You can also minify your js or css assets.


If you discover any security related issues, please email [email protected] instead of using the issue tracker.



The MIT License (MIT). Please see License File for more information.