def smileys_erb
      retdict = {
        enabled: @config[:smileys][:enabled],
        top: [],
        nottop: []
      }

      if @config[:smileys][:enabled]
        top = @parsed[:smileys].slice(0, @config[:smileys][:top]) # top X smileys
        top.each do |smiley|
          retdict[:top] << smiley[1]
        end

        nottop = @parsed[:smileys].slice(@config[:smileys][:top], @config[:smileys][:notop]) # not in the top X
        unless nottop.nil?
          nottop.each do |smiley|
            smiley[1].delete(:example)
            retdict[:nottop] << smiley[1]
          end
        end
      end

      retdict
    end
def smileys_erb
      retdict = {
        enabled: @config[:smileys][:enabled],
        top: [],
        nottop: []
      }

      if @config[:smileys][:enabled]
        top = @parsed[:smileys].slice(0, @config[:smileys][:top]) # top X smileys
        top.each do |smiley|
          retdict[:top] << smiley[1]
        end

        nottop = @parsed[:smileys].slice(@config[:smileys][:top], @config[:smileys][:notop]) # not in the top X
        unless nottop.nil?
          nottop.each do |smiley|
            smiley[1].delete(:example)
            retdict[:nottop] << smiley[1]
          end
        end
      end

      retdict
    end
Returns an array with the smileys which can be easily used within ERB.