Sha256: 68d8107d50f46bffea44701c29abe999a9851eda6b6843cfa8f3216cdb5ebfb0
Contents?: true
Size: 654 Bytes
Versions: 6
Compression:
Stored size: 654 Bytes
Contents
# frozen_string_literal: true require "active_support/configurable" module Katalyst module Content class Config include ActiveSupport::Configurable config_accessor(:backgrounds) { %w[light dark] } config_accessor(:items) do %w[ Katalyst::Content::Content Katalyst::Content::Figure Katalyst::Content::Section Katalyst::Content::Group Katalyst::Content::Column Katalyst::Content::Aside ] end config_accessor(:image_mime_types) { %w[image/png image/gif image/jpeg image/webp] } config_accessor(:max_image_size) { 20 } end end end
Version data entries
6 entries across 6 versions & 1 rubygems