Link to /about from public page on a single user instance (#3814)

There was no link for visitors to follow to see the about page.
This commit is contained in:
Daigo 3 Dango 2017-06-18 23:32:28 -10:00 committed by Eugen Rochko
parent 3d13f6ea0c
commit 5bd3715a4c

View File

@ -8,6 +8,8 @@
%span.single-user-login %span.single-user-login
= link_to t('auth.login'), new_user_session_path = link_to t('auth.login'), new_user_session_path
— —
%span.domain= link_to site_hostname, about_path
- else
%span.domain= link_to site_hostname, root_path %span.domain= link_to site_hostname, root_path
%span.powered-by %span.powered-by
!= t('generic.powered_by', link: link_to('Mastodon', 'https://joinmastodon.org')) != t('generic.powered_by', link: link_to('Mastodon', 'https://joinmastodon.org'))