Hack a way to pass Middleman context into Slim filters
This commit is contained in:
parent
8e7041994f
commit
54c055ea5e
6 changed files with 79 additions and 13 deletions
|
@ -223,7 +223,7 @@ module Middleman
|
|||
# messages, which can take a long time (minutes at full CPU)
|
||||
# if the object is huge or has cyclic references, like this.
|
||||
def to_s
|
||||
"the Middleman application context"
|
||||
"#<Middleman::Application>"
|
||||
end
|
||||
|
||||
# Expand a path to include the index file if it's a directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue