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

17 lines
582 B

  1. - content_for :header_tags do
  2. = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
  3. - content_for :content do
  4. .container= yield
  5. .footer
  6. - if !user_signed_in? && single_user_mode?
  7. %span.single-user-login
  8. = link_to t('auth.login'), new_user_session_path
  9. —
  10. %span.domain= link_to site_hostname, about_path
  11. - else
  12. %span.domain= link_to site_hostname, root_path
  13. %span.powered-by
  14. != t('generic.powered_by', link: link_to('Mastodon', 'https://joinmastodon.org'))
  15. = render template: 'layouts/application'