Sha256: f115653042b9769193c9ff4c82b3218552162ac9fc6e903b2071e889bf57a406
Contents?: true
Size: 726 Bytes
Versions: 9
Compression:
Stored size: 726 Bytes
Contents
module PictureTag module Parsers # Global config (big picture). loads jekyll data/config files, and the j-p-t # defaults from included yml files. class Configuration # returns jekyll's configuration (picture is a subset) def [](key) content[key] end private def content @content ||= setting_merge(DEFAULT_CONFIG, PictureTag.site.config) end def setting_merge(default, jekyll) jekyll.merge default do |_key, config_setting, default_setting| if default_setting.respond_to? :merge setting_merge(default_setting, config_setting) else config_setting end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems