plugins/tag_generator.rb
def write_tag_index(tag_dir, tag)
      index = TagIndex.new(self, self.source, tag_dir, tag)
      index.render(self.layouts, site_payload)
      index.write(self.dest)
      # Record the fact that this page has been added, otherwise Site::cleanup will remove it.
      self.pages << index

      # Create an Atom-feed for each index.
      feed = TagFeed.new(self, self.source, tag_dir, tag)
      feed.render(self.layouts, site_payload)
      feed.write(self.dest)
      # Record the fact that this page has been added, otherwise Site::cleanup will remove it.
      self.pages << feed
    end
# Creates an instance of TagIndex for each tag page, renders it, and
# writes the output to a file.
#
#  +tag_dir+ is the String path to the tag folder.
#  +tag+     is the tag currently being processed.
Creates an instance of TagIndex for each tag page, renders it, and
writes the output to a file.

+tag_dir+ is the String path to the tag folder.
+tag+     is the tag currently being processed.
Creates an instance of TagIndex for each tag page renders it and writes the output to a file . + tag_dir + is the String path to the tag folder . + tag + is the tag currently being processed .
def write_tag_index(tag_dir, tag)
      index = TagIndex.new(self, self.source, tag_dir, tag)
      index.render(self.layouts, site_payload)
      index.write(self.dest)
      self.pages << index
      feed = TagFeed.new(self, self.source, tag_dir, tag)
      feed.render(self.layouts, site_payload)
      feed.write(self.dest)
      self.pages << feed
    end
def write_tag_index ( tag_dir , tag ) index = TagIndex . new ( self , self . source , tag_dir , tag ) index . render ( self . layouts , site_payload ) index . write ( self . dest ) self . pages << index feed = TagFeed . new ( self , self . source , tag_dir , tag ) feed . render ( self . layouts , site_payload ) feed . write ( self . dest ) self . pages << feed end
Creates an instance of TagIndex for each tag page, renders it, and
writes the output to a file.
Creates an instance of TagIndex for each tag page renders it and writes the output to a file .
# Record the fact that this page has been added, otherwise Site::cleanup will remove it. # Create an Atom-feed for each index. # Record the fact that this page has been added, otherwise Site::cleanup will remove it.
tag_dir
tag