Inline Assets

Free!
Download
Description

Latest Version Statamic 3.0+

Inline assets

Inline assets for Statamic

Installation

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

Templating

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

<style>
{{ inline_assets src="css/site.css" }}
</style>

or

<script>
{{ inline_assets src="js/site.js" }}
</script>

Security

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

Credits

License

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


Important Links
Details
Released April 20, 2020
Updated 2 weeks ago
Version 2.0
Downloads 32
Requires Statamic 3

Vaggelis Yfantis

More by Vaggelis Yfantis