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.



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

def site
  @site
end

.typesObject

Returns the value of attribute types.



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

def types
  @types
end

Instance Attribute Details

#siteObject

Returns the value of attribute site.



28
29
30
# File 'lib/jekyll/tagging.rb', line 28

def site
  @site
end

Instance Method Details

#generate(site) ⇒ Object



34
35
36
37
38
39
# File 'lib/jekyll/tagging.rb', line 34

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

  generate_tag_pages
  add_tag_cloud
end