diff options
Diffstat (limited to 'app/views/layouts/admin.html.haml')
-rw-r--r-- | app/views/layouts/admin.html.haml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml index ec3629dd8..aa66815cc 100644 --- a/app/views/layouts/admin.html.haml +++ b/app/views/layouts/admin.html.haml @@ -7,12 +7,12 @@ .sidebar-wrapper__inner .sidebar = link_to root_path do - = image_pack_tag 'logo.svg', class: 'logo', alt: 'Mastodon' + = render_logo .sidebar__toggle .sidebar__toggle__logo = link_to root_path do - = svg_logo_full + = logo_as_symbol(:wordmark) = link_to '#', class: 'sidebar__toggle__icon' do = fa_icon 'bars' @@ -22,7 +22,10 @@ .content-wrapper .content .content-heading - %h2= yield :page_title + - if content_for?(:heading) + = yield :heading + - else + %h2= yield :page_title - if :heading_actions .content-heading-actions |