summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-25 13:38:54 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-25 13:38:54 +0100
commit6d385e3365ffa68a3e4ddb7bf332522cceaccaff (patch)
treefb96cd37e7350f397a5f36e577a92f6e1fa6fb0f /app
parent0980dda6cdab6dc35cfa9a8b7b7b67fcd73ea699 (diff)
downloadgitlab-ce-6d385e3365ffa68a3e4ddb7bf332522cceaccaff.tar.gz
Add link to twitter docs
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/_head.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml
index 0be00da0b9e..2e0bd2007a3 100644
--- a/app/views/layouts/_head.html.haml
+++ b/app/views/layouts/_head.html.haml
@@ -1,9 +1,9 @@
%head{prefix: "og: http://ogp.me/ns#"}
%meta{charset: "utf-8"}
%meta{'http-equiv' => 'X-UA-Compatible', content: 'IE=edge'}
+ %meta{name: 'referrer', content: 'origin-when-cross-origin'}
%meta{name: "description", content: page_description}
- %meta{name: 'referrer', content: 'origin-when-cross-origin'}
-# Open Graph - http://ogp.me/
%meta{property: 'og:type', content: "object"}
@@ -13,6 +13,7 @@
%meta{property: 'og:image', content: page_image}
%meta{property: 'og:url', content: request.base_url + request.fullpath}
+ -# Twitter Card - https://dev.twitter.com/cards/types/summary
%meta{property: 'twitter:card', content: "summary"}
%meta{property: 'twitter:title', content: page_title}
%meta{property: 'twitter:description', content: page_description}