Skip to content

Render the output of any SVG file in your asset folder using the ID.

Notifications You must be signed in to change notification settings

mikemartin/statamic-svg-output

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

SVG Output Tag Statamic 2.0

Render the output of any SVG file in your asset folder using the ID.

Installation

  1. Copy over the files into the site folder.
  2. Output the raw SVG asset using the new svg_output tag!

Parameters

  • ID - The ID of the file in your asset folder

  • Class - Allows you to add a class to the tag

Example

{{ svg_output id="{id}" class="class-name" }}
<svg class="class-name">...</svg>

About

Render the output of any SVG file in your asset folder using the ID.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages