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

- content_for :content do
  .container= yield
  .footer
    - if !user_signed_in? && single_user_mode?
      %span.single-user-login
        = link_to t('auth.login'), new_user_session_path
        = "\u2014"
    %span.domain= link_to site_hostname, root_path
    %span.powered-by
      = t('generic.powered_by', link: link_to('Mastodon', 'https://github.com/tootsuite/mastodon')).html_safe

= render template: "layouts/application"