Sha256: 9953f60739875ce7d3450bfb3f81ea8c69a15132b90ffffec23d94c5b3c37aff
Contents?: true
Size: 767 Bytes
Versions: 2
Compression:
Stored size: 767 Bytes
Contents
module Locomotive module Steam 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
locomotivecms_steam-0.1.1 | lib/locomotive/steam/liquid/drops/page.rb |
locomotivecms_steam-0.1.0 | lib/locomotive/steam/liquid/drops/page.rb |