mirror of
https://github.com/danbee/danbarber.me
synced 2025-03-04 08:59:10 +00:00
Rename plugin Magick to avoid class name conflicts
This commit is contained in:
parent
0a9efc403d
commit
a35cc78c33
@ -2,7 +2,7 @@ require "mini_magick"
|
||||
require "fileutils"
|
||||
|
||||
module Jekyll
|
||||
module MiniMagick
|
||||
module Magick
|
||||
def magick(image_path, options)
|
||||
filename, ext = image_path.split("/").last.split(".")
|
||||
|
||||
@ -39,4 +39,4 @@ module Jekyll
|
||||
end
|
||||
end
|
||||
|
||||
Liquid::Template.register_filter(Jekyll::MiniMagick)
|
||||
Liquid::Template.register_filter(Jekyll::Magick)
|
||||
Loading…
Reference in New Issue
Block a user