闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
512 B

  1. - content_for :header_tags do
  2. = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
  3. - content_for :content do
  4. .admin-wrapper
  5. .sidebar-wrapper
  6. .sidebar
  7. = link_to root_path do
  8. = image_tag asset_pack_path('logo.png'), class: 'logo'
  9. = render_navigation
  10. .content-wrapper
  11. .content
  12. %h2= yield :page_title
  13. = render 'application/flashes'
  14. = yield
  15. = render template: "layouts/application", locals: { body_classes: 'admin' }