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

19 lines
351 B
Ruby

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