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

23 lines
792 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 => "manifest", :href => "/manifest.json"}/
  9. %meta{:name => "msapplication-config", :content => "/browserconfig.xml"}/
  10. %meta{:name => "theme-color", :content => "#2b90d9"}/
  11. %title
  12. = "#{yield(:page_title)} - " if content_for?(:page_title)
  13. Mastodon
  14. = stylesheet_link_tag 'application', media: 'all'
  15. = csrf_meta_tags
  16. = yield :header_tags
  17. %body{ class: @body_classes }
  18. = content_for?(:content) ? yield(:content) : yield