Skip to content

wayjam/template-icon-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Icon Extractor for template

A small tool to generate inline-svg in template.

  • Parser
  • Extractor
  • Generator

Usage

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"]

Hugo

You can write icon in the template like below, then run this cli to generated inline-svg:

{{ partial "icons" "logo-twitter" }}

LICENSE

Released under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published