diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 5a3bb4abe66..615180c6dc6 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -2,15 +2,19 @@ %html{ lang: "en"} = render "layouts/head", title: "Public Projects" %body{class: "#{app_theme} application"} - %header.navbar.navbar-static-top.navbar-gitlab - .navbar-inner - .container - %div.app_logo - %span.separator - = link_to root_path, class: "home" do - %h1 GITLAB - %span.separator - %h1.project_name Public Projects + - if current_user + = render "layouts/head_panel", title: "Public Projects" + - else + %header.navbar.navbar-static-top.navbar-gitlab + .navbar-inner + .container + %div.app_logo + %span.separator + = link_to root_path, class: "home" do + %h1 GITLAB + %span.separator + %h1.project_name Public Projects + .container.navless-container .content = yield