Module: Tags::HeaderTags
- Includes:
- TrustyCms::Taggable
- Defined in:
- lib/tags/header_tags.rb
Instance Method Summary collapse
Instance Method Details
#get_content(page, type) ⇒ Object
45 46 47 48 49 50 |
# File 'lib/tags/header_tags.rb', line 45 def get_content(page, type) if page.field(type) && !page.field(type).content.blank? CGI.escapeHTML(page.field(type).content) end end |