Permalink
Browse files

Add very basic support for OpenGraph data.

This allows at least the title of the page and the title of the site
to be expressed as OpenGraphs
  • Loading branch information...
1 parent 58f615f commit 020c93622c4109b1467f49feff83b45efaf61479 @Flameeyes committed Feb 18, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/views/shared/_page_header.html.erb
@@ -22,3 +22,5 @@
<%= this_blog.custom_tracking_field unless this_blog.custom_tracking_field.blank? %>
<%= google_analytics %>
+<%= meta_tag 'og:site_name', this_blog.blog_name %>
+<%= meta_tag 'og:title', @article ? @article.title : @page_title %>

0 comments on commit 020c936

Please sign in to comment.