Module: Jekyll::Favicon::StaticFile::Taggable
- Includes:
- Configuration::Defaults
- Included in:
- Jekyll::Favicon::StaticFile
- Defined in:
- lib/jekyll/favicon/static_file/taggable.rb
Overview
Add tags to favicon’s static files
Instance Method Summary collapse
Methods included from Configuration::Defaults
base_name_to_parts, camelcase_to_snakecase, define_defaults, included, load_defaults, load_file
Instance Method Details
#taggable? ⇒ Boolean
14 15 16 |
# File 'lib/jekyll/favicon/static_file/taggable.rb', line 14 def taggable? .any? end |
#tags ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'lib/jekyll/favicon/static_file/taggable.rb', line 18 def tag_spec.collect do || tag_name, = .first tag_defaults = taggable_defaults[tag_name] tag_attributes = tag_defaults.merge Utils.build_tag tag_name, patch(tag_attributes) end end |