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
33 34 35 36 37 38 |
# File 'lib/tags/header_tags.rb', line 33 def get_content(page, type) if page.field(type) && !page.field(type).content.blank? CGI.escapeHTML(page.field(type).content) end end |