diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-25 13:35:57 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-25 13:35:57 +0100 |
commit | 0980dda6cdab6dc35cfa9a8b7b7b67fcd73ea699 (patch) | |
tree | e92392242d7a9182a17a303454087db2f5946d53 /app | |
parent | 4a2514ff0e1cf88786dcaf168b50af540568e79d (diff) | |
download | gitlab-ce-0980dda6cdab6dc35cfa9a8b7b7b67fcd73ea699.tar.gz |
Add more twitter metatags.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/layouts/_head.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml index 2002f66af0e..0be00da0b9e 100644 --- a/app/views/layouts/_head.html.haml +++ b/app/views/layouts/_head.html.haml @@ -6,11 +6,17 @@ %meta{name: 'referrer', content: 'origin-when-cross-origin'} -# Open Graph - http://ogp.me/ + %meta{property: 'og:type', content: "object"} %meta{property: 'og:site_name', content: "GitLab"} %meta{property: 'og:title', content: page_title} %meta{property: 'og:description', content: page_description} %meta{property: 'og:image', content: page_image} %meta{property: 'og:url', content: request.base_url + request.fullpath} + + %meta{property: 'twitter:card', content: "summary"} + %meta{property: 'twitter:title', content: page_title} + %meta{property: 'twitter:description', content: page_description} + %meta{property: 'twitter:image', content: page_image} = page_card_meta_tags - page_title "GitLab" |