Commit b75401d5910af3744596d54dba36ba4de87aae4e
1 parent
ee3046f9
Exists in
spb-stable
and in
3 other branches
Move Go specific meta tag after the atom feed code.
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
app/views/layouts/_head.html.haml
1 | 1 | %head |
2 | 2 | %meta{charset: "utf-8"} |
3 | - | |
4 | - -# Go repository retrieval support. | |
5 | - - if controller_name == 'projects' && action_name == 'show' | |
6 | - %meta{name: "go-import", content: "#{@project.web_url_without_scheme} git #{@project.web_url}.git"} | |
7 | - | |
8 | 3 | %title |
9 | 4 | = "#{title} | " if defined?(title) |
10 | 5 | GitLab |
... | ... | @@ -25,3 +20,8 @@ |
25 | 20 | = auto_discovery_link_tag(:atom, project_commits_url(@project, @ref, format: :atom, private_token: current_user.private_token), title: "Recent commits to #{@project.name}:#{@ref}") |
26 | 21 | - if current_controller?(:issues) |
27 | 22 | = auto_discovery_link_tag(:atom, project_issues_url(@project, :atom, private_token: current_user.private_token), title: "#{@project.name} issues") |
23 | + | |
24 | + -# Go repository retrieval support. | |
25 | + - if controller_name == 'projects' && action_name == 'show' | |
26 | + %meta{name: "go-import", content: "#{@project.web_url_without_scheme} git #{@project.web_url}.git"} | |
27 | + | ... | ... |