Sha256: 7ae44980a656f4d5bbde376e537e0b9e323080ab51661b828c1a49539c470e19

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

Contents

<%# facebook %>
<%= content_for :facebook_ogp do %>
  <meta property="og:title" content="<%= @clip.title %>" />
  <meta property="og:type" content="website" />
  <meta property="og:url" content="<%= CGI.escape("http://" + request.host + request.fullpath) %>" />
  <meta property="og:image" content="<%= @clip.png %>" />
  <meta property="og:site_name" content="Student Leadership Initiative" />
<% end -%>

<%= content_for :social_setup do %>
  <%# google %>
  <script type="text/javascript">
    (function() {
      var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
      po.src = 'https://apis.google.com/js/plusone.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
    })();
  </script>

  <%# twitter %>
  <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kinney-0.1.1 app/views/layouts/kinney/_social_setup.html.erb
kinney-0.1.0 app/views/layouts/kinney/_social_setup.html.erb
kinney-0.0.3 app/views/layouts/kinney/_social_setup.html.erb
kinney-0.0.2 app/views/layouts/kinney/_social_setup.html.erb
kinney-0.0.1 app/views/layouts/kinney/_social_setup.html.erb