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

15 lines
272 B
Ruby
Raw Normal View History

module Locomotive
module Liquid
module Drops
class Page < Base
liquid_attributes << :title << :fullpath
def children
@children ||= liquify(*@source.children)
end
end
end
end
end