Add html meta tag with software description

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-06-26 12:56:15 +03:00
parent 7abd1fd64f
commit 024e0577c6
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@
-# https://github.com/gitlabhq/gitlabhq/pull/5958#issuecomment-45397555
- if controller_name == 'projects' && action_name == 'show'
%meta{name: "go-import", content: "#{@project.web_url_without_protocol} git #{@project.web_url}.git"}
%meta{content: "GitLab Community Edition", name: "description"}
%title
= "#{title} | " if defined?(title)