Sha256: cb5a6d7a11be1d9c29c44f683da277c53c0ab051d471fbfb1c41595db86fa41d
Contents?: true
Size: 692 Bytes
Versions: 4
Compression:
Stored size: 692 Bytes
Contents
# frozen_string_literal: true require "jekyll" require "jekyll-redirect-from/version" require "jekyll-redirect-from/generator" module JekyllRedirectFrom # Jekyll classes which should be redirectable CLASSES = [Jekyll::Page, Jekyll::Document].freeze autoload :Context, "jekyll-redirect-from/context" autoload :RedirectPage, "jekyll-redirect-from/redirect_page" autoload :Redirectable, "jekyll-redirect-from/redirectable" autoload :Layout, "jekyll-redirect-from/layout" autoload :PageWithoutAFile, "jekyll-redirect-from/page_without_a_file" end JekyllRedirectFrom::CLASSES.each do |klass| klass.send :include, JekyllRedirectFrom::Redirectable end
Version data entries
4 entries across 4 versions & 1 rubygems