Sha256: 276339a659646d97d0af9623b2017c45a86dc3b1c55853236a721895907f44c5
Contents?: true
Size: 954 Bytes
Versions: 19
Compression:
Stored size: 954 Bytes
Contents
# (c) Copyright 2020 Ribose Inc. # module Jekyll module Geolexica module Configuration def concepts_glob glob_string = glossary_config["concepts_glob"] File.expand_path(glob_string, site.source) end def term_languages glossary_config["term_languages"] end def output_html? glossary_config["formats"].include?("html") end def output_json? glossary_config["formats"].include?("json") end def output_jsonld? glossary_config["formats"].include?("json-ld") end def output_tbx? glossary_config["formats"].include?("tbx-iso-tml") end def output_turtle? glossary_config["formats"].include?("turtle") end def output_yaml? glossary_config["formats"].include?("yaml") end protected def glossary_config site.config["geolexica"] || {} end end end end
Version data entries
19 entries across 19 versions & 1 rubygems