Class: Jekyll::Geolexica::ConceptPage::JSON
Instance Attribute Summary
#concept
Instance Method Summary
collapse
#initialize, #termid, #type
Instance Method Details
#collection_name ⇒ Object
62
63
64
|
# File 'lib/jekyll/geolexica/concept_page.rb', line 62
def collection_name
"concepts_json"
end
|
#layout ⇒ Object
66
67
68
|
# File 'lib/jekyll/geolexica/concept_page.rb', line 66
def layout
nil
end
|
#page_name ⇒ Object
58
59
60
|
# File 'lib/jekyll/geolexica/concept_page.rb', line 58
def page_name
"#{termid}.json"
end
|
#permalink ⇒ Object
78
79
80
|
# File 'lib/jekyll/geolexica/concept_page.rb', line 78
def permalink
"/api/concepts/#{termid}.json"
end
|
#uses_liquid ⇒ Object
74
75
76
|
# File 'lib/jekyll/geolexica/concept_page.rb', line 74
def uses_liquid
false
end
|