summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-25 13:27:43 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-25 13:27:43 +0100
commit4a2514ff0e1cf88786dcaf168b50af540568e79d (patch)
tree9a1d97dc433ff1121e89786ddd8bb665264f2eee /app/views
parent6438c288a89ad1e17893eded187eba2785035aa3 (diff)
downloadgitlab-ce-4a2514ff0e1cf88786dcaf168b50af540568e79d.tar.gz
Add og:site_name
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/_head.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml
index 434605e59ae..2002f66af0e 100644
--- a/app/views/layouts/_head.html.haml
+++ b/app/views/layouts/_head.html.haml
@@ -1,5 +1,3 @@
-- page_title "GitLab"
-
%head{prefix: "og: http://ogp.me/ns#"}
%meta{charset: "utf-8"}
%meta{'http-equiv' => 'X-UA-Compatible', content: 'IE=edge'}
@@ -8,12 +6,14 @@
%meta{name: 'referrer', content: 'origin-when-cross-origin'}
-# Open Graph - http://ogp.me/
+ %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}
= page_card_meta_tags
+ - page_title "GitLab"
%title= page_title
= favicon_link_tag 'favicon.ico'