Class: Jekyll::Geolexica::ConceptPage::JSONLD

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



88
89
90
# File 'lib/jekyll/geolexica/concept_page.rb', line 88

def collection_name
  "concepts_jsonld"
end

#layoutObject



92
93
94
# File 'lib/jekyll/geolexica/concept_page.rb', line 92

def layout
  "concept.jsonld"
end

#page_nameObject



84
85
86
# File 'lib/jekyll/geolexica/concept_page.rb', line 84

def page_name
  "#{termid}.jsonld"
end


100
101
102
# File 'lib/jekyll/geolexica/concept_page.rb', line 100

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

#uses_liquidObject



96
97
98
# File 'lib/jekyll/geolexica/concept_page.rb', line 96

def uses_liquid
  true
end