Sha256: 0d82d358b34acd770178bca1028713f42162127dad3f726227e3609778827bd8

Contents?: true

Size: 776 Bytes

Versions: 9

Compression:

Stored size: 776 Bytes

Contents

- alt_obj ||= nil

- if obj.respond_to?(:keywords) and !obj.keywords.blank?
  %meta{name: "keywords", content: obj.keywords}/
- else
  - if alt_obj and alt_obj.respond_to?(:keywords) and !alt_obj.keywords.blank?
    %meta{name: "keywords", content: alt_obj.keywords}/

- if obj.respond_to?(:description) and !obj.description.blank?
  %meta{name: "description", content: obj.description}/
- else
  - if alt_obj and alt_obj.respond_to?(:description) and !alt_obj.description.blank?
    %meta{name: "description", content: alt_obj.description}/

- if obj.respond_to?(:robots) and !obj.robots.blank?
  %meta{name: "robots", content: obj.robots}/
- else
  - if alt_obj and alt_obj.respond_to?(:robots) and !alt_obj.robots.blank?
    %meta{name: "robots", content: alt_obj.robots}/

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ack_rocket_cms-0.7.5.2 app/views/shared/_meta.html.haml
ack_rocket_cms-0.7.5.1 app/views/shared/_meta.html.haml
ack_rocket_cms-0.7.5 app/views/shared/_meta.html.haml
ack_rocket_cms-0.7.4.1 app/views/shared/_meta.html.haml
ack_rocket_cms-0.7.4 app/views/shared/_meta.html.haml
ack_rocket_cms-0.7.3 app/views/shared/_meta.html.haml
ack_rocket_cms-0.7.2.4 app/views/shared/_meta.html.haml
ack_rocket_cms-0.7.2.3.2 app/views/shared/_meta.html.haml
ack_rocket_cms-0.7.2.3.1 app/views/shared/_meta.html.haml