Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-25 15:27:43 +0300
committerDouwe Maan <douwe@gitlab.com>2015-12-25 15:27:43 +0300
commit4a2514ff0e1cf88786dcaf168b50af540568e79d (patch)
tree9a1d97dc433ff1121e89786ddd8bb665264f2eee /app
parent6438c288a89ad1e17893eded187eba2785035aa3 (diff)
Add og:site_name
Diffstat (limited to 'app')
-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'