Permalink
Browse files

More OG tags

  • Loading branch information...
penso committed Jan 12, 2013
1 parent fddd283 commit f31c9945de3ef7905d56f0cfcd279f8a37c06697
Showing with 14 additions and 0 deletions.
  1. +7 −0 app/views/photographers/about.html.erb
  2. +7 −0 app/views/photographers/contact.html.erb
@@ -1,3 +1,10 @@
+<%= content_for :facebook_meta do %>
+ <meta property="og:url" content="<%= about_url %>" />
+ <meta property="og:image" content="<%= full_image_link @photographer.user_avatar.image_url(:thumb) %>" />
+ <meta property="og:title" content="<%= @photographer.name %> - Photography" />
+ <meta property="og:description" content="<%= @photographer.description %>" />
+ <meta property="og:site_name" content="<%= @photographer.name %>"/>
+<% end %>
<%= render :partial => 'photographers/about' %>
<h2 class="about-heading">Stories</h2>
@@ -1,3 +1,10 @@
+<%= content_for :facebook_meta do %>
+ <meta property="og:url" content="<%= contact_url %>" />
+ <meta property="og:image" content="<%= full_image_link @photographer.user_avatar.image_url(:thumb) %>" />
+ <meta property="og:title" content="<%= @photographer.name %> - Photography" />
+ <meta property="og:description" content="<%= @photographer.description %>" />
+ <meta property="og:site_name" content="<%= @photographer.name %>"/>
+<% end %>
<%= render :partial => 'photographers/about' %>
<p>

0 comments on commit f31c994

Please sign in to comment.