Add opengraph tags on twitter page.

Since the twitter page can now be embedded in Facebook and other social
networks which relies on opengraph tag, this page is now called the
social page.
This commit is contained in:
Luc Didry
2014-10-02 23:31:59 +02:00
parent 23c130750e
commit ad04bdd571
+6
View File
@@ -7,6 +7,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8" />
<link rel="icon" type="image/png" href="<%= url_for('index')->to_abs() %>img/favicon.png">
<meta property="og:title" content="Lutim" />
<meta property="og:type" content="website" />
<meta property="og:url" content="<%= url_for('index')->to_abs().$short %>?t" />
<meta property="og:image" content="<%= url_for('index')->to_abs().$short %>" />
<meta property="og:image:url" content="<%= url_for('index')->to_abs().$short %>" />
<meta property="og:image:type" content="<%= $mimetype %>" />
<meta name="twitter:site" content="<%= config('tweet_card_via') %>">
<meta name="twitter:image:src" content="<%= url_for('index')->to_abs().$short %>">
% if ($g) {