Module: Pageflow::MetaTagsHelper Private

Included in:
StructuredDataHelper
Defined in:
app/helpers/pageflow/meta_tags_helper.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#meta_tags_data_for_entry(entry) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
11
12
13
14
# File 'app/helpers/pageflow/meta_tags_helper.rb', line 8

def meta_tags_data_for_entry(entry)
  {
    keywords: entry.keywords,
    author: entry.author,
    publisher: entry.publisher
  }
end

#meta_tags_for_entry(entry) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
# File 'app/helpers/pageflow/meta_tags_helper.rb', line 4

def meta_tags_for_entry(entry)
  render partial: 'pageflow/meta_tags/entry', locals: meta_tags_data_for_entry(entry)
end