plugins/tag_generator.rb
# Loops through the list of tag pages and processes each one.
Loops through the list of tag pages and processes each one.
Loops through the list of tag pages and processes each one .
def write_tag_indexes
      if self.layouts.key? 'tag_index'
        dir = self.config['tag_dir'] || 'tags'
        self.tags.keys.each do |tag|
          self.write_tag_index(File.join(dir, tag.to_url), tag)
        end
      else
        throw "No 'tag_index' layout found."
      end
    end
def write_tag_indexes if self . layouts . key? 'tag_index' dir = self . config [ 'tag_dir' ] || 'tags' self . tags . keys . each do | tag | self . write_tag_index ( File . join ( dir , tag . to_url ) , tag ) end else throw "No 'tag_index' layout found." end end
Loops through the list of tag pages and processes each one.
Loops through the list of tag pages and processes each one .
# Throw an exception if the layout couldn't be found.