Commit 0980dda6 authored by Douwe Maan's avatar Douwe Maan

Add more twitter metatags.

parent 4a2514ff
...@@ -6,11 +6,17 @@ ...@@ -6,11 +6,17 @@
%meta{name: 'referrer', content: 'origin-when-cross-origin'} %meta{name: 'referrer', content: 'origin-when-cross-origin'}
-# Open Graph - http://ogp.me/ -# Open Graph - http://ogp.me/
%meta{property: 'og:type', content: "object"}
%meta{property: 'og:site_name', content: "GitLab"} %meta{property: 'og:site_name', content: "GitLab"}
%meta{property: 'og:title', content: page_title} %meta{property: 'og:title', content: page_title}
%meta{property: 'og:description', content: page_description} %meta{property: 'og:description', content: page_description}
%meta{property: 'og:image', content: page_image} %meta{property: 'og:image', content: page_image}
%meta{property: 'og:url', content: request.base_url + request.fullpath} %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_card_meta_tags
- page_title "GitLab" - page_title "GitLab"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment