Class: Jekyll::IconGenerator
- Inherits:
-
Generator
- Object
- Generator
- Jekyll::IconGenerator
- Defined in:
- lib/irontask/public/components/font-awesome/src/_plugins/icon_page_generator.rb
Instance Method Summary collapse
- #generate(site) ⇒ Object
-
#true ⇒ Object
Iterate over every described icon in a YAML file and create a page for it.
Instance Method Details
#generate(site) ⇒ Object
38 39 40 41 42 |
# File 'lib/irontask/public/components/font-awesome/src/_plugins/icon_page_generator.rb', line 38 def generate(site) site.icons.each do |icon| site.pages << IconPage.new(site, site.source, site.config['icon_destination'], icon) end end |
#true ⇒ Object
Iterate over every described icon in a YAML file and create a page for it
36 |
# File 'lib/irontask/public/components/font-awesome/src/_plugins/icon_page_generator.rb', line 36 safe true |