Class: Jekyll::Geolexica::ConceptPage::Turtle

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



110
111
112
# File 'lib/jekyll/geolexica/concept_page.rb', line 110

def collection_name
  "concepts_ttl"
end

#layoutObject



114
115
116
# File 'lib/jekyll/geolexica/concept_page.rb', line 114

def layout
  "concept.ttl"
end

#page_nameObject



106
107
108
# File 'lib/jekyll/geolexica/concept_page.rb', line 106

def page_name
  "#{termid}.ttl"
end


122
123
124
# File 'lib/jekyll/geolexica/concept_page.rb', line 122

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

#uses_liquidObject



118
119
120
# File 'lib/jekyll/geolexica/concept_page.rb', line 118

def uses_liquid
  true
end