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



9
10
11
# File 'app/models/skyline/page.rb', line 9

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

#title_tagObject



13
14
15
# File 'app/models/skyline/page.rb', line 13

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