Sha256: 59db8bcf21890c980b7b494a0f6b9251d7095c44083fd2537bbaf07a360376a8
Contents?: true
Size: 767 Bytes
Versions: 4
Compression:
Stored size: 767 Bytes
Contents
module Locomotive module Wagon module Liquid module Drops class Page < Base delegate :title, :slug, :fullpath, :parent, :depth, :seo_title, :redirect_url, :meta_description, :meta_keywords, :templatized?, :published?, :redirect?, :listed?, :handle, to: :@_source def children _children = @_source.children || [] _children = _children.sort { |a, b| a.position.to_i <=> b.position.to_i } @children ||= liquify(*_children) end def content_type ProxyCollection.new(@_source.content_type) if @_source.content_type end def breadcrumbs # TODO '' end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems