]> cat aescling's git repositories - mastodon.git/commitdiff
Link to /about from public page on a single user instance (#3814)
authorDaigo 3 Dango <zunda@users.noreply.github.com>
Mon, 19 Jun 2017 09:32:28 +0000 (23:32 -1000)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 19 Jun 2017 09:32:28 +0000 (11:32 +0200)
There was no link for visitors to follow to see the about page.

app/views/layouts/public.html.haml

index 09e12b691db8f0db67c74b5c0d51fa5c2be667a7..83e92b938f3d4dfb24d4b9c3a350a109a8e6656f 100644 (file)
@@ -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'))