Class: Jekyll::Tagger

Inherits:
Generator
  • Object
show all
Includes:
Helpers
Defined in:
lib/jekyll/tagging.rb

Class Attribute Summary collapse

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Helpers

#jekyll_tagging_slug

Class Attribute Details

.siteObject

Returns the value of attribute site.



30
31
32
# File 'lib/jekyll/tagging.rb', line 30

def site
  @site
end

.typesObject

Returns the value of attribute types.



30
31
32
# File 'lib/jekyll/tagging.rb', line 30

def types
  @types
end

Instance Attribute Details

#siteObject

Returns the value of attribute site.



26
27
28
# File 'lib/jekyll/tagging.rb', line 26

def site
  @site
end

Instance Method Details

#generate(site) ⇒ Object



32
33
34
35
36
37
# File 'lib/jekyll/tagging.rb', line 32

def generate(site)
  self.class.site = self.site = site

  generate_tag_pages
  add_tag_cloud
end