def render_icon(tags)
      icon = meta_tags.extract(:icon)
      return unless icon

      # String? Value is an href
      icon = [{ href: icon }] if icon.kind_of?(String)
      # Hash? Single icon instead of a list of icons
      icon = [icon] if icon.kind_of?(Hash)

      icon.each do |icon_params|
        icon_params = { rel: 'icon', type: 'image/x-icon' }.with_indifferent_access.merge(icon_params)
        tags << Tag.new(:link, icon_params)
      end
    end
def render_icon(tags)
      icon = meta_tags.extract(:icon)
      return unless icon

      # String? Value is an href
      icon = [{ href: icon }] if icon.kind_of?(String)
      # Hash? Single icon instead of a list of icons
      icon = [icon] if icon.kind_of?(Hash)

      icon.each do |icon_params|
        icon_params = { rel: 'icon', type: 'image/x-icon' }.with_indifferent_access.merge(icon_params)
        tags << Tag.new(:link, icon_params)
      end
    end
Renders icon(s) tag.

 @param [Array<Tag>] tags a buffer object to store tag in.