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.
lolsob-rspec
Daigo 3 Dango 2017-06-18 23:32:28 -10:00 committed by Eugen Rochko
parent 481f277e58
commit 0483235216
1 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,9 @@
%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, root_path %span.domain= link_to site_hostname, about_path
- else
%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'))