A small tool to generate inline-svg in template.
- Parser
- Extractor
- Generator
Options:
--version Show version number [boolean]
-h Show help [boolean]
-s, --source template source dir [required] [default: "."]
-t, --type [choices: "hugo"]
-o, --output [required]
-i, --icon icon type [choices: "fontawesome", "ionicon", "feather"]
You can write icon in the template like below, then run this cli to generated inline-svg:
{{ partial "icons" "logo-twitter" }}
Released under the MIT License.