Class: Jekyll::Geolexica::ConceptPage::TBX

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



132
133
134
# File 'lib/jekyll/geolexica/concept_page.rb', line 132

def collection_name
  "concepts_tbx"
end

#layoutObject



136
137
138
# File 'lib/jekyll/geolexica/concept_page.rb', line 136

def layout
  "concept.tbx.xml"
end

#page_nameObject



128
129
130
# File 'lib/jekyll/geolexica/concept_page.rb', line 128

def page_name
  "#{termid}.tbx.xml"
end


144
145
146
# File 'lib/jekyll/geolexica/concept_page.rb', line 144

def permalink
  "/api/concepts/#{termid}.tbx.xml"
end

#uses_liquidObject



140
141
142
# File 'lib/jekyll/geolexica/concept_page.rb', line 140

def uses_liquid
  true
end