placeholder_svg
Generates a <svg> tag of the specified name type.
The following are supported name types:
- image
- product-1
- product-2
- product-3
- product-4
- product-5
- product-6
- lifestyle-1
- lifestyle-2
- collection-1
- collection-2
- collection-3
- collection-4
- collection-5
- collection-6
- hero-apparel-1
- hero-apparel-2
- hero-apparel-3
- blog-apparel-1
- blog-apparel-2
- blog-apparel-3
- detailed-apparel-1
{{#placeholder_svg name /}}
Params
-
namestring: Supported name types
Hash Params
-
classstring: Custom class
Example
Basic example
Generates an svg tag of type product-1.
{{#placeholder_svg "product-1" /}}
Adding the class attribute
Customize the class attribute.
{{#placeholder_svg "product-1" class="custom-class" /}}
Was this article helpful to you?