2017 © Pedro Peláez
 

craft-plugin craft3-inline

Inline the contents of a file in a twig template.

image

luwes/craft3-inline

Inline the contents of a file in a twig template.

  • Wednesday, December 13, 2017
  • by luwes
  • Repository
  • 1 Watchers
  • 2 Stars
  • 168 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 21 % Grown

The README.md

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)

  1. Install with Composer via composer require luwes/craft3-inline
  2. 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)

  • Release it

Brought to you by Wesley Luyten, (*7)

The Versions

13/12 2017

dev-master

9999999-dev

Inline the contents of a file in a twig template.

  Sources   Download

MIT

The Requires

 

inline cms craftcms craft-plugin craft

27/03 2017

1.0.0

1.0.0.0

Inline the contents of a file in a twig template.

  Sources   Download

MIT

The Requires

 

inline cms craftcms craft-plugin craft