engine/lib/locomotive/liquid/drops/page.rb

19 lines
342 B
Ruby
Raw Normal View History

module Locomotive
module Liquid
module Drops
class Page < Base
2010-06-24 09:14:08 +00:00
liquid_attributes << :title
def children
@children ||= liquify(*@source.children)
end
2010-06-24 09:14:08 +00:00
def fullpath
@fullpath ||= @source.fullpath
end
end
end
end
end