Skip to content

Commit

Permalink
Merge pull request #687 from pulibrary/og_image
Browse files Browse the repository at this point in the history
Add opengraph title and image
  • Loading branch information
kevinreiss committed Sep 1, 2016
2 parents 63abeaf + fd0b359 commit a91bfac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file added app/assets/images/pul_orange-icon-only.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width,initial-scale=1.0">

<!-- OpenGraph metadata when sharing links, e.g., on FB -->
<meta property="og:image" content="<%= asset_path 'pul_orange-icon-only.png' %>" />
<meta property="og:title" content="<%= render_page_title %>" />

<!-- Mobile IE allows us to activate ClearType technology for smoothing fonts for easy reading -->
<!--[if IEMobile]>
<meta http-equiv="cleartype" content="on">
Expand Down

0 comments on commit a91bfac

Please sign in to comment.