Class: Skyline::Page::Data

Inherits:
Article::Data show all
Defined in:
app/models/skyline/page.rb

Instance Attribute Summary

Attributes inherited from Article::Data

#to_be_published

Instance Method Summary collapse

Instance Method Details



7
8
9
# File 'app/models/skyline/page.rb', line 7

def navigation_title
  self[:navigation_title].present? ? self[:navigation_title] : self.title.to_s
end

#title_tagObject



11
12
13
# File 'app/models/skyline/page.rb', line 11

def title_tag
  self[:custom_title_tag].present? ? self[:custom_title_tag] : self.title
end