class Jekyll::Geolexica::ConceptPage::YAML
Public Instance Methods
collection_name()
click to toggle source
# File lib/jekyll/geolexica/concept_page.rb, line 154 def collection_name "concepts_yaml" end
content()
click to toggle source
# File lib/jekyll/geolexica/concept_page.rb, line 162 def content ConceptSerializer.new(concept, site).to_yaml end
layout()
click to toggle source
# File lib/jekyll/geolexica/concept_page.rb, line 158 def layout nil end
page_name()
click to toggle source
# File lib/jekyll/geolexica/concept_page.rb, line 150 def page_name "#{termid}.yaml" end
permalink()
click to toggle source
# File lib/jekyll/geolexica/concept_page.rb, line 170 def permalink "/api/concepts/#{termid}.yaml" end
uses_liquid()
click to toggle source
# File lib/jekyll/geolexica/concept_page.rb, line 166 def uses_liquid false end