lib/locomotive/liquid/drops/page.rb in locomotive_cms-2.0.0.rc2 vs lib/locomotive/liquid/drops/page.rb in locomotive_cms-2.0.0.rc4
- old
+ new
@@ -4,10 +4,10 @@
class Page < Base
delegate :seo_title, :meta_keywords, :meta_description, :to => '_source'
def title
- self._source.templatized? ? @context['content_entry']._label : self._source.title
+ self._source.templatized? ? @context['entry']._label : self._source.title
end
def slug
self._source.templatized? ? self._source.content_type.slug.singularize : self._source.slug
end