Commit 4a2514ff authored by Douwe Maan's avatar Douwe Maan

Add og:site_name

parent 6438c288
- page_title "GitLab"
%head{prefix: "og: http://ogp.me/ns#"} %head{prefix: "og: http://ogp.me/ns#"}
%meta{charset: "utf-8"} %meta{charset: "utf-8"}
%meta{'http-equiv' => 'X-UA-Compatible', content: 'IE=edge'} %meta{'http-equiv' => 'X-UA-Compatible', content: 'IE=edge'}
...@@ -8,12 +6,14 @@ ...@@ -8,12 +6,14 @@
%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: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}
= page_card_meta_tags = page_card_meta_tags
- page_title "GitLab"
%title= page_title %title= page_title
= favicon_link_tag 'favicon.ico' = favicon_link_tag 'favicon.ico'
......
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