Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 526 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 526 Bytes

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>