闭社主体 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.

29 lines
1012 B

  1. !!! 5
  2. %html{:lang => 'en'}
  3. %head
  4. %meta{:charset => 'utf-8'}/
  5. %meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1'}/
  6. %meta{'http-equiv' => 'X-UA-Compatible', :content => 'IE=edge'}/
  7. %link{:rel => "apple-touch-icon", :sizes => "180x180", :href => "/apple-touch-icon.png"}/
  8. %link{:rel => "mask-icon", :href => "/mask-icon.svg", :color => "#2B90D9"}/
  9. %link{:rel => "manifest", :href => "/manifest.json"}/
  10. %meta{:name => "msapplication-config", :content => "/browserconfig.xml"}/
  11. %meta{:name => "theme-color", :content => "#282c37"}/
  12. %meta{:name => "apple-mobile-web-app-capable", :content => "yes"}/
  13. %title<
  14. - if content_for?(:page_title)
  15. = yield(:page_title).strip
  16. = ' - '
  17. = site_title
  18. = stylesheet_link_tag stylesheet_for_layout, media: 'all'
  19. = csrf_meta_tags
  20. = yield :header_tags
  21. - body_classes ||= @body_classes
  22. %body{ class: body_classes }
  23. = content_for?(:content) ? yield(:content) : yield