Module: Cdx::SeoHelper
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/cdx/controller_helpers/seo.rb
Instance Method Summary collapse
Instance Method Details
#seo_data_tags ⇒ Object
58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/cdx/controller_helpers/seo.rb', line 58 def # Should be included in your head tag html = .map do |k, v| tag. name: k, content: v end.join html += open_graph_data.map do |k, v| tag. property: k, content: v end.join html += tag.link rel: :canonical, href: canonical_url end |