Permalink
Browse files

Add open graph tags.

  • Loading branch information...
pH200 committed Dec 14, 2012
1 parent a174bd0 commit 438742c02a0c7ce7e65a10cde3aea51f6e1bf616
Showing with 7 additions and 0 deletions.
  1. +6 −0 erika/koga/layoutTop.ejs
  2. +1 −0 erika/start-server.js
  3. BIN public/img/cytisan_fb.jpg
View
@@ -4,6 +4,12 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0" />
<title><%= title %></title>
+ <meta property="og:title" content="<%= title %>" />
+ <meta property="og:type" content="website" />
+ <meta property="og:image" content="/img/cytisan_fb.jpg" />
+ <% if (siteTitle) { %>
+ <meta property="og:description" content="Archive site for <%= siteTitle %>" />
+ <% } %>
<link href="/css/main.css" rel="stylesheet" />
<script src="/js/modernizr.custom.46542.js"></script>
</head>
View
@@ -38,6 +38,7 @@ module.exports = function (dataDriver, options) {
var data = dataDriver.getData();
res.render("index", {
title: title,
+ siteTitle: options.site_title,
allposts: data.allposts,
users: data.users
});
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 438742c

Please sign in to comment.