Skip to content

JacobTinston/StatamicInliner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inliner

Inliner is a Statamic addon that turns external assets into inline HTML.

Features

This addon does:

  • Inlines external JS/CSS files
  • Minifies these files

How to Install

You can use this addon by running the following command from your project root:

composer require surgems/inliner

How to Use

To inline your external assets, just use the inliner tag allong with the path to your asset file:

{{ inliner src="css/app.css" }}
{{ inliner src="js/app.js" }}

To Minify these assets, just add the minify tag (the default is false):

{{ inliner src="css/app.css" minify="true" }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages