SVG

Academy theme svg shortcode for inline SVG icons from assets.

The svg shortcode renders an inline SVG icon from assets/icons/{name}.svg.

{{< svg name="layer5-academy-icon" >}}

Parameters:

ParameterDescriptionDefault
nameSVG file name (without extension) from assets/icons/(required)

Example:

The icon renders inline:

To add your own SVG icons, place .svg files in the assets/icons/ directory.