module Jekyll::Geolexica::Configuration

Public Instance Methods

concepts_glob() click to toggle source
# File lib/jekyll/geolexica/configuration.rb, line 7
def concepts_glob
  glob_string = glossary_config["concepts_glob"]
  File.expand_path(glob_string, site.source)
end
output_html?() click to toggle source
# File lib/jekyll/geolexica/configuration.rb, line 16
def output_html?
  glossary_config["formats"].include?("html")
end
output_json?() click to toggle source
# File lib/jekyll/geolexica/configuration.rb, line 20
def output_json?
  glossary_config["formats"].include?("json")
end
output_jsonld?() click to toggle source
# File lib/jekyll/geolexica/configuration.rb, line 24
def output_jsonld?
  glossary_config["formats"].include?("json-ld")
end
output_tbx?() click to toggle source
# File lib/jekyll/geolexica/configuration.rb, line 28
def output_tbx?
  glossary_config["formats"].include?("tbx-iso-tml")
end
output_turtle?() click to toggle source
# File lib/jekyll/geolexica/configuration.rb, line 32
def output_turtle?
  glossary_config["formats"].include?("turtle")
end
output_yaml?() click to toggle source
# File lib/jekyll/geolexica/configuration.rb, line 36
def output_yaml?
  glossary_config["formats"].include?("yaml")
end
term_languages() click to toggle source
# File lib/jekyll/geolexica/configuration.rb, line 12
def term_languages
  glossary_config["term_languages"]
end

Protected Instance Methods

glossary_config() click to toggle source
# File lib/jekyll/geolexica/configuration.rb, line 42
def glossary_config
  site.config["geolexica"] || {}
end