Class: Jekyll::Geolexica::ConceptPage::HTML

Inherits:
Jekyll::Geolexica::ConceptPage show all
Defined in:
lib/jekyll/geolexica/concept_page.rb

Instance Attribute Summary

Attributes inherited from Jekyll::Geolexica::ConceptPage

#concept

Instance Method Summary collapse

Methods inherited from Jekyll::Geolexica::ConceptPage

#initialize, #termid, #type

Constructor Details

This class inherits a constructor from Jekyll::Geolexica::ConceptPage

Instance Method Details

#collection_nameObject



40
41
42
# File 'lib/jekyll/geolexica/concept_page.rb', line 40

def collection_name
  "concepts"
end

#layoutObject



44
45
46
# File 'lib/jekyll/geolexica/concept_page.rb', line 44

def layout
  "concept"
end

#page_nameObject



36
37
38
# File 'lib/jekyll/geolexica/concept_page.rb', line 36

def page_name
  "#{termid}.html"
end


52
53
54
# File 'lib/jekyll/geolexica/concept_page.rb', line 52

def permalink
  "/concepts/#{termid}/"
end

#uses_liquidObject



48
49
50
# File 'lib/jekyll/geolexica/concept_page.rb', line 48

def uses_liquid
  true
end