mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-09 10:23:24 +02:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user