Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

og meta tags not working rails

<!-- app/views/offers/show.html.erb -->
<% content_for :meta_title, "#{@offer.name} is on #{DEFAULT_META["meta_product_name"]}" %>
<% content_for :meta_description, @offer.description %>
<% content_for :meta_image, cl_image_path(@offer.photo.path) %>
Source by www.lewagon.com #
 
PREVIOUS NEXT
Tagged: #og #meta #tags #working #rails
ADD COMMENT
Topic
Name
7+7 =