Sha256: b13c99edd811ba666d82fce1c3798c13b986e43c123f56c8fdf146670f6aab40

Contents?: true

Size: 993 Bytes

Versions: 1

Compression:

Stored size: 993 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?(:author) and !obj.author.blank?
  meta{name="author" content=obj.author}/
- else
  - if alt_obj and alt_obj.respond_to?(:author) and !alt_obj.author.blank?
    meta{name="author" content=alt_obj.author}/
    

- 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

1 entries across 1 versions & 1 rubygems

Version Path
hancock_cms_seo-1.0.2 app/views/shared/_meta.html.slim