about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorDaigo 3 Dango <zunda@users.noreply.github.com>2017-06-18 23:32:28 -1000
committerEugen Rochko <eugen@zeonfederated.com>2017-06-19 11:32:28 +0200
commit5bd3715a4c11d533d9b859dadce45adc99e97373 (patch)
treecbe00c25f71e46ae512582e21cd74380d0207ffe /app/views
parent3d13f6ea0c6cf0022c9fa57c570f93462647dd12 (diff)
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.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/public.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml
index 09e12b691..83e92b938 100644
--- a/app/views/layouts/public.html.haml
+++ b/app/views/layouts/public.html.haml
@@ -8,7 +8,9 @@
       %span.single-user-login
         = link_to t('auth.login'), new_user_session_path
         &mdash;
-    %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
       != t('generic.powered_by', link: link_to('Mastodon', 'https://joinmastodon.org'))