about summary refs log tree commit diff
path: root/app/views/layouts/public.html.haml
blob: 600290297dc57d6dbf97be48e85b4d0bec55fabc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- content_for :header_tags do
  = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'

- content_for :content do
  .container-alt= yield
  .footer
    - if !user_signed_in? && single_user_mode?
      %span.single-user-login
        = link_to t('auth.login'), new_user_session_path
        —
      %span.footer__domain= link_to site_hostname, about_path
    - else
      %span.footer__domain= link_to site_hostname, root_path
    %span.powered-by
      != t('generic.powered_by', link: link_to('https://joinmastodon.org') { image_tag asset_pack_path('logo_full.svg'), alt: 'Mastodon' })

= render template: 'layouts/application'