Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

muflone/grav-plugin-cdn-function

Repository files navigation

Grav CDN Function Plugin

CDN Function is a Grav Plugin that allows to load resources from an external CDN to speed up loading and to save bandwidth.

Installation

To install this plugin, just download the zip version of this repository and unzip it under /your/site/grav/user/plugins. Then, rename the folder to cdn-function.

You should now have all the plugin files under

/your/site/grav/user/plugins/cdn-function

Usage for content authors

To use this plugin insert in any Twig page the following tag:

cdn('/some/resource.png')

Depending on the plugin configuration this would be translated in:

http://cdn.muflone.com/some/resource.png

About

Grav CMS plugin to add a cdn Twig function to load resources from a configured CDN

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages