Class: Jekyll::Geolexica::ConceptPage::JSONLD
Instance Attribute Summary
#concept
Instance Method Summary
collapse
#initialize, #termid, #type
Instance Method Details
#collection_name ⇒ Object
88
89
90
|
# File 'lib/jekyll/geolexica/concept_page.rb', line 88
def collection_name
"concepts_jsonld"
end
|
#layout ⇒ Object
92
93
94
|
# File 'lib/jekyll/geolexica/concept_page.rb', line 92
def layout
"concept.jsonld"
end
|
#page_name ⇒ Object
84
85
86
|
# File 'lib/jekyll/geolexica/concept_page.rb', line 84
def page_name
"#{termid}.jsonld"
end
|
#permalink ⇒ Object
100
101
102
|
# File 'lib/jekyll/geolexica/concept_page.rb', line 100
def permalink
"/api/concepts/#{termid}.jsonld"
end
|
#uses_liquid ⇒ Object
96
97
98
|
# File 'lib/jekyll/geolexica/concept_page.rb', line 96
def uses_liquid
true
end
|